Skip to content

Commit 6fad3bc

Browse files
stamblerrehyangah
authored andcommitted
[release] goTools: don't fail gocode installation if gocode is not already running
Fixes #355 Fixes #362 Change-Id: Ifdf229ce52a6a4b1a2e4f0a28ac5596405ff4c56 Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/242780 Reviewed-by: Hyang-Ah Hana Kim <[email protected]> (cherry picked from commit db1d1b3) Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/243898 Reviewed-by: Rebecca Stambler <[email protected]>
1 parent a6c4f17 commit 6fad3bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/goTools.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ export const allToolsInformation: { [key: string]: Tool } = {
194194
return `Installing gocode aborted as existing process cannot be closed. Please kill the running process for gocode and try again.`;
195195
}
196196
} catch (err) {
197-
return `Failed to close gocode process: ${err}.`;
197+
// This may fail if gocode isn't already running.
198198
}
199199
return '';
200200
},

0 commit comments

Comments
 (0)