Commit 0c0ef67
committed
[release] src/goEnv.ts: readd go.toolsEnvVars variable substitution
The extension resolved ${workspaceFolder}, ${workspaceRoot},
${env:} variables included in go.toolsEnvVars, since 0.6.66,
but that feature was lost in the 0.15 dev cycle.
Readd the code from
https://github.com/microsoft/vscode-go/blob/2dbccbe5d2fb70feab3f87ac6f6187f6b896e795/src/util.ts#L438
Similar logic for testEnvVars still exists in getTestEnvVars
(testutils.ts).
Fixes #413
Change-Id: I1cc8ff41ce8445c573e554f947da8cd610c3671b
Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/246519
Reviewed-by: Rebecca Stambler <[email protected]>
(cherry picked from commit 6a84918)
Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/246958
Reviewed-by: Hyang-Ah Hana Kim <[email protected]>1 parent 265bf23 commit 0c0ef67
1 file changed
+8
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
59 | 66 | | |
60 | 67 | | |
61 | 68 | | |
| |||
0 commit comments