Skip to content

Commit 53473a8

Browse files
authored
Merge pull request #11212 from dotty-staging/template-version
issue templates: better version prompt
2 parents 7d520d1 + b184a71 commit 53473a8

File tree

3 files changed

+6
-12
lines changed

3 files changed

+6
-12
lines changed

.github/ISSUE_TEMPLATE/bug.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,8 @@ assignees: ''
99

1010
## Compiler version
1111

12-
``` bash
13-
# get compiler version via command line
14-
scalac -version
15-
```
12+
If you're not sure what version you're using, run `print scalaVersion` from sbt
13+
(if you're running scalac manually, use `scalac -version` instead).
1614

1715
## Minimized code
1816

.github/ISSUE_TEMPLATE/crash.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,8 @@ assignees: ''
99

1010
## Compiler version
1111

12-
``` bash
13-
# get compiler version via command line
14-
scalac -version
15-
```
12+
If you're not sure what version you're using, run `print scalaVersion` from sbt
13+
(if you're running scalac manually, use `scalac -version` instead).
1614

1715
## Minimized code
1816

.github/ISSUE_TEMPLATE/other-issue.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,8 @@ assignees: ''
88

99
## Compiler version
1010

11-
``` bash
12-
# get compiler version via command line
13-
scalac -version
14-
```
11+
If you're not sure what version you're using, run `print scalaVersion` from sbt
12+
(if you're running scalac manually, use `scalac -version` instead).
1513

1614
## Minimized example
1715

0 commit comments

Comments
 (0)