diff --git a/src/client/terminals/envCollectionActivation/deactivateService.ts b/src/client/terminals/envCollectionActivation/deactivateService.ts index 0758f3e22311..97313eba56d7 100644 --- a/src/client/terminals/envCollectionActivation/deactivateService.ts +++ b/src/client/terminals/envCollectionActivation/deactivateService.ts @@ -47,7 +47,7 @@ export class TerminalDeactivateService implements ITerminalDeactivateService { return; } const shellType = identifyShellFromShellPath(shell); - const terminal = this.terminalManager.createTerminal({ + const terminal = this.terminalManager.createTerminal({ // maybe cwd is getting carried over from here? name: `Python ${shellType} Deactivate`, shellPath: shell, hideFromUser: true, diff --git a/src/client/terminals/envCollectionActivation/indicatorPrompt.ts b/src/client/terminals/envCollectionActivation/indicatorPrompt.ts index 5701bf78603e..200f08ceebd7 100644 --- a/src/client/terminals/envCollectionActivation/indicatorPrompt.ts +++ b/src/client/terminals/envCollectionActivation/indicatorPrompt.ts @@ -59,7 +59,7 @@ export class TerminalIndicatorPrompt implements IExtensionSingleActivationServic // Only show this notification for basic terminals created using the '+' button. return; } - const cwd = + const cwd = /// I Dont think this sets the cwd, it just recies it from terminal.creationOptions 'cwd' in terminal.creationOptions && terminal.creationOptions.cwd ? terminal.creationOptions.cwd : this.activeResourceService.getActiveResource(); diff --git a/src/client/terminals/envCollectionActivation/service.ts b/src/client/terminals/envCollectionActivation/service.ts index a527abe90454..72f29a58bbf4 100644 --- a/src/client/terminals/envCollectionActivation/service.ts +++ b/src/client/terminals/envCollectionActivation/service.ts @@ -310,7 +310,7 @@ export class TerminalEnvVarCollectionService implements IExtensionActivationServ * Call this once we know terminal prompt is set correctly for terminal owned by this resource. */ private terminalPromptIsCorrect(resource: Resource) { - const key = this.getWorkspaceFolder(resource)?.index; + const key = this.getWorkspaceFolder(resource)?.index; // Suspicious?? this.isPromptSet.set(key, true); }