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

Commit 3c89579

Browse files
JanKoehnleinramya-rao-a
authored andcommitted
Handle "open workspace settings" properly #1374 (#1375)
Signed-off-by: Jan Koehnlein <jan.koehnlein@typefox.io>
1 parent 301d444 commit 3c89579

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/goInstallTools.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -181,10 +181,10 @@ function installTools(goVersion: SemVersion, missing?: string[]) {
181181
if (toolsGopath) {
182182
envForTools['GOPATH'] = toolsGopath;
183183
} else {
184-
vscode.window.showInformationMessage('Cannot install Go tools. Set either go.gopath or go.toolsGopath in settings.', 'Open User settings', 'Open Workspace Settings').then(selected => {
185-
if (selected === 'Open User settings') {
184+
vscode.window.showInformationMessage('Cannot install Go tools. Set either go.gopath or go.toolsGopath in settings.', 'Open User Settings', 'Open Workspace Settings').then(selected => {
185+
if (selected === 'Open User Settings') {
186186
vscode.commands.executeCommand('workbench.action.openGlobalSettings');
187-
} else if (selected === 'Open User settings') {
187+
} else if (selected === 'Open Workspace Settings') {
188188
vscode.commands.executeCommand('workbench.action.openWorkspaceSettings');
189189
}
190190
});

0 commit comments

Comments
 (0)