Skip to content

Commit

Permalink
goLanguageServer: attach gopls version to issue reports
Browse files Browse the repository at this point in the history
Change-Id: Id902a44dc7f91b198c7cc4c36c783b66817a2ecb
Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/251082
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
TryBot-Result: kokoro <noreply+kokoro@google.com>
  • Loading branch information
stamblerre committed Aug 27, 2020
1 parent e15a8a2 commit 95570ec
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/goLanguageServer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1040,8 +1040,12 @@ You will be asked to provide additional information and logs, so PLEASE READ THE
errKind = 'initialization';
break;
}
const usersGoplsVersion = await getLocalGoplsVersion(latestConfig);
const title = `gopls: automated issue report (${errKind})`;
const body = `ATTENTION: PLEASE PROVIDE THE DETAILS REQUESTED BELOW.
const body = `
gopls version: ${usersGoplsVersion}
ATTENTION: PLEASE PROVIDE THE DETAILS REQUESTED BELOW.
Describe what you observed.
Expand Down

0 comments on commit 95570ec

Please sign in to comment.