From b184a713dc1a47e81acdc208a8721359b7b86cf8 Mon Sep 17 00:00:00 2001 From: Guillaume Martres Date: Mon, 25 Jan 2021 22:47:43 +0100 Subject: [PATCH] issue templates: better version prompt Give the sbt command for finding the current version, this avoids confusion like in #11211. --- .github/ISSUE_TEMPLATE/bug.md | 6 ++---- .github/ISSUE_TEMPLATE/crash.md | 6 ++---- .github/ISSUE_TEMPLATE/other-issue.md | 6 ++---- 3 files changed, 6 insertions(+), 12 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug.md b/.github/ISSUE_TEMPLATE/bug.md index 68b6d0f6269e..d6a891e1c518 100644 --- a/.github/ISSUE_TEMPLATE/bug.md +++ b/.github/ISSUE_TEMPLATE/bug.md @@ -9,10 +9,8 @@ assignees: '' ## Compiler version -``` bash -# get compiler version via command line -scalac -version -``` +If you're not sure what version you're using, run `print scalaVersion` from sbt +(if you're running scalac manually, use `scalac -version` instead). ## Minimized code diff --git a/.github/ISSUE_TEMPLATE/crash.md b/.github/ISSUE_TEMPLATE/crash.md index fdd097910a2c..dc935e310548 100644 --- a/.github/ISSUE_TEMPLATE/crash.md +++ b/.github/ISSUE_TEMPLATE/crash.md @@ -9,10 +9,8 @@ assignees: '' ## Compiler version -``` bash -# get compiler version via command line -scalac -version -``` +If you're not sure what version you're using, run `print scalaVersion` from sbt +(if you're running scalac manually, use `scalac -version` instead). ## Minimized code diff --git a/.github/ISSUE_TEMPLATE/other-issue.md b/.github/ISSUE_TEMPLATE/other-issue.md index eaf08b30ecde..cfa8618c542a 100644 --- a/.github/ISSUE_TEMPLATE/other-issue.md +++ b/.github/ISSUE_TEMPLATE/other-issue.md @@ -8,10 +8,8 @@ assignees: '' ## Compiler version -``` bash -# get compiler version via command line -scalac -version -``` +If you're not sure what version you're using, run `print scalaVersion` from sbt +(if you're running scalac manually, use `scalac -version` instead). ## Minimized example