We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 806b088 commit 06424c7Copy full SHA for 06424c7
src/goInstallTools.ts
@@ -366,7 +366,7 @@ export function updateGoVarsFromConfig(): Promise<void> {
366
if (!process.env['GOBIN'] && envOutput[3] && envOutput[3].trim()) {
367
process.env['GOBIN'] = envOutput[3].trim();
368
}
369
- if (!process.env['GOMODCACHE']) {
+ if (!process.env['GOMODCACHE'] && envOutput[4] && envOutput[4].trim()) {
370
process.env['GOMODCACHE'] = envOutput[4].trim();
371
372
0 commit comments