Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[release] src/language/goLanguageServer: do not require gopls when la…
…nguage server is disabled This fixes a bug that made the extension to look up the path to the gopls binary when go.useLanguageServer is false. During the lookup, if the gopls wasn't available, getLanguageServerToolPath eventually triggerred the missing tool prompt and that was not appropriate. Return from buildLanguageServerConfig early if we don't need the language server. Updates #2300 Change-Id: I7572244350f953c8ce874086f4f5cbb45a7301af Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/414456 Reviewed-by: Jamal Carvalho <jamal@golang.org> Reviewed-by: Suzy Mueller <suzmue@golang.org> Run-TryBot: Hyang-Ah Hana Kim <hyangah@gmail.com> TryBot-Result: kokoro <noreply+kokoro@google.com> (cherry picked from commit 4dd972e) Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/414459
- Loading branch information