Skip to content

Commit

Permalink
Port fix for vscode issue 160827 to release/1.40 (#21466)
Browse files Browse the repository at this point in the history
* port fix for vscode issue 160827 (#21457)

* Update build version

Co-authored-by: Hai Cao <hacao@microsoft.com>
  • Loading branch information
kburtram and caohai committed Dec 21, 2022
1 parent dc838c7 commit 6613846
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "azuredatastudio",
"version": "1.40.1",
"version": "1.40.2",
"distro": "c6da977529b6719ff1974faa53a73abe01ec13ac",
"author": {
"name": "Microsoft Corporation"
Expand Down
9 changes: 0 additions & 9 deletions src/vs/platform/terminal/node/terminalProfiles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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']
});
Expand Down

0 comments on commit 6613846

Please sign in to comment.