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 cbb1479 commit 8da2809Copy full SHA for 8da2809
src/utils/pathUtils.ts
@@ -106,7 +106,9 @@ export function getBinPathWithPreferredGopathGorootWithExplanation(
106
// Check common paths for go
107
if (toolName === 'go') {
108
const defaultPathsForGo =
109
- process.platform === 'win32' ? ['C:\\Go\\bin\\go.exe'] : ['/usr/local/go/bin/go', '/usr/local/bin/go'];
+ process.platform === 'win32'
110
+ ? ['C:\\Program Files\\Go\\bin\\go.exe', 'C:\\Program Files (x86)\\Go\\bin\\go.exe']
111
+ : ['/usr/local/go/bin/go', '/usr/local/bin/go'];
112
for (const p of defaultPathsForGo) {
113
if (executableFileExists(p)) {
114
binPathCache[toolName] = p;
0 commit comments