Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

Commit

Permalink
Fix infinite loop when language server is enabled but gopls cant be f…
Browse files Browse the repository at this point in the history
…ound
  • Loading branch information
ramya-rao-a committed Apr 25, 2019
1 parent 2697152 commit 8134819
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/goInstallTools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,7 @@ function getTools(goVersion: SemVersion): string[] {
}

if (goConfig['useLanguageServer']) {
const languageServer = getToolFromToolPath(getLanguageServerToolPath());
tools.push(languageServer === 'go-langserver' ? 'go-langserver' : 'gopls');
tools.push('gopls');
}

if (goLiveErrorsEnabled()) {
Expand Down

0 comments on commit 8134819

Please sign in to comment.