Commit dfdd910
committed
[release] src/goInstallTools.ts: return a rejected promise when go isn't found
If Go is not found, return a rejected promise, so, the promise
chaining can work. updateGoVarsFromConfig is not declared as an
async, so returning nothing means returning nothing.
Fixes #660
Change-Id: I16f73ca057f3b6bb220a754afc1baa43cc891c22
Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/255963
Run-TryBot: Hyang-Ah Hana Kim <[email protected]>
TryBot-Result: kokoro <[email protected]>
Trust: Hyang-Ah Hana Kim <[email protected]>
Reviewed-by: Suzy Mueller <[email protected]>
(cherry picked from commit 8e9cae7)
Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/2576031 parent 292b78f commit dfdd910
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
347 | 347 | | |
348 | 348 | | |
349 | 349 | | |
350 | | - | |
| 350 | + | |
351 | 351 | | |
352 | 352 | | |
353 | 353 | | |
| |||
482 | 482 | | |
483 | 483 | | |
484 | 484 | | |
485 | | - | |
| 485 | + | |
486 | 486 | | |
487 | 487 | | |
488 | 488 | | |
| |||
0 commit comments