mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -05:00
port fix for vscode issue 160827 (#21457)
This commit is contained in:
@@ -103,14 +103,6 @@ async function detectAvailableWindowsProfiles(
|
|||||||
source: ProfileSource.GitBash,
|
source: ProfileSource.GitBash,
|
||||||
isAutoDetected: true
|
isAutoDetected: true
|
||||||
});
|
});
|
||||||
detectedProfiles.set('Cygwin', {
|
|
||||||
path: [
|
|
||||||
`${process.env['HOMEDRIVE']}\\cygwin64\\bin\\bash.exe`,
|
|
||||||
`${process.env['HOMEDRIVE']}\\cygwin\\bin\\bash.exe`
|
|
||||||
],
|
|
||||||
args: ['--login'],
|
|
||||||
isAutoDetected: true
|
|
||||||
});
|
|
||||||
detectedProfiles.set('Command Prompt', {
|
detectedProfiles.set('Command Prompt', {
|
||||||
path: `${system32Path}\\cmd.exe`,
|
path: `${system32Path}\\cmd.exe`,
|
||||||
icon: Codicon.terminalCmd,
|
icon: Codicon.terminalCmd,
|
||||||
@@ -212,7 +204,6 @@ async function initializeWindowsProfiles(testPwshSourcePaths?: string[]): Promis
|
|||||||
`${process.env['ProgramFiles']}\\Git\\usr\\bin\\bash.exe`,
|
`${process.env['ProgramFiles']}\\Git\\usr\\bin\\bash.exe`,
|
||||||
`${process.env['LocalAppData']}\\Programs\\Git\\bin\\bash.exe`,
|
`${process.env['LocalAppData']}\\Programs\\Git\\bin\\bash.exe`,
|
||||||
`${process.env['UserProfile']}\\scoop\\apps\\git-with-openssh\\current\\bin\\bash.exe`,
|
`${process.env['UserProfile']}\\scoop\\apps\\git-with-openssh\\current\\bin\\bash.exe`,
|
||||||
`${process.env['AllUsersProfile']}\\scoop\\apps\\git-with-openssh\\current\\bin\\bash.exe`
|
|
||||||
],
|
],
|
||||||
args: ['--login']
|
args: ['--login']
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user