Skip to content

Commit

Permalink
sa
Browse files Browse the repository at this point in the history
  • Loading branch information
Kartik Raj committed Aug 30, 2023
1 parent cb66272 commit 99a8799
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@
"--ui=tdd",
"--recursive",
"--colors",
"--grep", "Terminal Environment Variable Collection",
//"--grep", "Terminal Environment Variable Collection Pr",
"--timeout=300000"
],
"outFiles": ["${workspaceFolder}/out/**/*.js", "!${workspaceFolder}/**/node_modules**/*"],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,14 @@ export class TerminalEnvVarCollectionService implements IExtensionActivationServ
applyAtShellIntegration: true,
applyAtProcessCreation: true,
});
return;
} else {
traceVerbose(`Prepending environment variable ${key} in collection to ${value}`);
envVarCollection.prepend(key, value, {
applyAtShellIntegration: true,
applyAtProcessCreation: true,
});
}
return;
}
traceVerbose(`Setting environment variable ${key} in collection to ${value}`);
envVarCollection.replace(key, value, {
Expand Down

0 comments on commit 99a8799

Please sign in to comment.