Skip to content

Commit e9e5ce3

Browse files
committed
issue templates: better version prompt
Almost no one uses `scalac` by hand, so it's not a good way to get the current compiler version (example: #11211), give the sbt command instead.
1 parent 7d520d1 commit e9e5ce3

File tree

3 files changed

+6
-21
lines changed

3 files changed

+6
-21
lines changed

.github/ISSUE_TEMPLATE/bug.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,10 @@ assignees: ''
77

88
---
99

10-
## Compiler version
11-
12-
``` bash
13-
# get compiler version via command line
14-
scalac -version
15-
```
16-
1710
## Minimized code
1811

12+
Using Scala (add version here, if you're not sure check with `sbt "print scalaVersion"`),
13+
1914
```Scala
2015
println("hello, world")
2116
```

.github/ISSUE_TEMPLATE/crash.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,10 @@ assignees: ''
77

88
---
99

10-
## Compiler version
11-
12-
``` bash
13-
# get compiler version via command line
14-
scalac -version
15-
```
16-
1710
## Minimized code
1811

12+
Using Scala (add version here, if you're not sure check with `sbt "print scalaVersion"`),
13+
1914
```Scala
2015
println("hello, world")
2116
```

.github/ISSUE_TEMPLATE/other-issue.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,10 @@ labels:
66
assignees: ''
77
---
88

9-
## Compiler version
10-
11-
``` bash
12-
# get compiler version via command line
13-
scalac -version
14-
```
15-
169
## Minimized example
1710

11+
Using Scala (add version here, if you're not sure check with `sbt "print scalaVersion"`),
12+
1813
```Scala
1914
println("hello, world")
2015
```

0 commit comments

Comments
 (0)