Port fix for vscode issue 160827 to release/1.40 (#21466)

* port fix for vscode issue 160827 (#21457)

* Update build version

Co-authored-by: Hai Cao <hacao@microsoft.com>
This commit is contained in:
Karl Burtram
2022-12-21 11:01:44 -08:00
committed by GitHub
parent dc838c7bf5
commit 661384637d
2 changed files with 1 additions and 10 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "azuredatastudio",
"version": "1.40.1",
"version": "1.40.2",
"distro": "c6da977529b6719ff1974faa53a73abe01ec13ac",
"author": {
"name": "Microsoft Corporation"

View File

@@ -103,14 +103,6 @@ async function detectAvailableWindowsProfiles(
source: ProfileSource.GitBash,
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', {
path: `${system32Path}\\cmd.exe`,
icon: Codicon.terminalCmd,
@@ -212,7 +204,6 @@ async function initializeWindowsProfiles(testPwshSourcePaths?: string[]): Promis
`${process.env['ProgramFiles']}\\Git\\usr\\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['AllUsersProfile']}\\scoop\\apps\\git-with-openssh\\current\\bin\\bash.exe`
],
args: ['--login']
});