Skip to content

Commit 181193f

Browse files
committed
investigate Gitbash
1 parent 42962ce commit 181193f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/client/terminals/envCollectionActivation/deactivateService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export class TerminalDeactivateService implements ITerminalDeactivateService {
4747
return;
4848
}
4949
const shellType = identifyShellFromShellPath(shell);
50-
const terminal = this.terminalManager.createTerminal({
50+
const terminal = this.terminalManager.createTerminal({ // maybe cwd is getting carried over from here?
5151
name: `Python ${shellType} Deactivate`,
5252
shellPath: shell,
5353
hideFromUser: true,

src/client/terminals/envCollectionActivation/indicatorPrompt.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export class TerminalIndicatorPrompt implements IExtensionSingleActivationServic
5959
// Only show this notification for basic terminals created using the '+' button.
6060
return;
6161
}
62-
const cwd =
62+
const cwd = /// I Dont think this sets the cwd, it just recies it from terminal.creationOptions
6363
'cwd' in terminal.creationOptions && terminal.creationOptions.cwd
6464
? terminal.creationOptions.cwd
6565
: this.activeResourceService.getActiveResource();

src/client/terminals/envCollectionActivation/service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ export class TerminalEnvVarCollectionService implements IExtensionActivationServ
310310
* Call this once we know terminal prompt is set correctly for terminal owned by this resource.
311311
*/
312312
private terminalPromptIsCorrect(resource: Resource) {
313-
const key = this.getWorkspaceFolder(resource)?.index;
313+
const key = this.getWorkspaceFolder(resource)?.index; // Suspicious??
314314
this.isPromptSet.set(key, true);
315315
}
316316

0 commit comments

Comments
 (0)