You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
getGoVersion can return undefined. Handle the case and display
`Go (unknown)` in the status item.
Made formatGoVersion to take GoVersion or undefined.
Also, utilize GoVersion.format(includePrerelease) to choose
the correct version string. It turned out GoVersion.format
uses sesmver.format, which reformats version strings like 1.14rc1
to 1.14.0. That's not ideal for go version display purpose.
Change-Id: I923a9efff90abaa4b6b4a4018ed402a04161169e
Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/245439
Reviewed-by: Rebecca Stambler <[email protected]>
(cherry picked from commit d8f9560)
Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/245601
0 commit comments