提交 8db441df 编写于 作者: D Daniel Imms

Disable cygwin shell detection

Related #75945
上级 c6ff21a3
......@@ -120,10 +120,11 @@ async function detectAvailableWindowsShells(): Promise<IShellDefinition[]> {
`${process.env['ProgramFiles']}\\Git\\usr\\bin\\bash.exe`,
`${process.env['LocalAppData']}\\Programs\\Git\\bin\\bash.exe`,
],
Cygwin: [
`${process.env['HOMEDRIVE']}\\cygwin64\\bin\\bash.exe`,
`${process.env['HOMEDRIVE']}\\cygwin\\bin\\bash.exe`
]
// See #75945
// Cygwin: [
// `${process.env['HOMEDRIVE']}\\cygwin64\\bin\\bash.exe`,
// `${process.env['HOMEDRIVE']}\\cygwin\\bin\\bash.exe`
// ]
};
const promises: PromiseLike<IShellDefinition | undefined>[] = [];
Object.keys(expectedLocations).forEach(key => promises.push(validateShellPaths(key, expectedLocations[key])));
......@@ -170,4 +171,4 @@ async function getShellPathFromRegistry(shellName: string): Promise<string> {
} catch (error) {
return '';
}
}
\ No newline at end of file
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册