We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b7d8d1 commit 6a60c92Copy full SHA for 6a60c92
src/client/terminals/envCollectionActivation/service.ts
@@ -221,9 +221,10 @@ export class TerminalEnvVarCollectionService implements IExtensionActivationServ
221
env.PS1 = await this.getPS1(shell, resource, env);
222
const defaultPrependOptions = await this.getPrependOptions();
223
224
+ const deactivate = await this.terminalDeactivateService.getScriptLocation(shell, resource);
225
// Clear any previously set env vars from collection
226
envVarCollection.clear();
- const deactivate = await this.terminalDeactivateService.getScriptLocation(shell, resource);
227
+
228
Object.keys(env).forEach((key) => {
229
if (shouldSkip(key)) {
230
return;
0 commit comments