File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -347,7 +347,7 @@ export function updateGoVarsFromConfig(): Promise<void> {
347
347
const goRuntimePath = getBinPath ( 'go' , false ) ;
348
348
if ( ! goRuntimePath ) {
349
349
suggestDownloadGo ( ) ;
350
- return ;
350
+ return Promise . reject ( ) ;
351
351
}
352
352
353
353
return new Promise < void > ( ( resolve , reject ) => {
@@ -482,7 +482,7 @@ async function suggestDownloadGo() {
482
482
}
483
483
484
484
const choice = await vscode . window . showErrorMessage (
485
- `Failed to find the "go" binary in either GOROOT(${ getCurrentGoRoot ( ) } ) or PATH(${ envPath } . ` +
485
+ `Failed to find the "go" binary in either GOROOT(${ getCurrentGoRoot ( ) } ) or PATH(${ envPath } ) . ` +
486
486
`Check PATH, or Install Go and reload the window.` ,
487
487
'Go to Download Page'
488
488
) ;
You can’t perform that action at this time.
0 commit comments