Skip to content

Commit 531943f

Browse files
committed
test env collection with escape char
1 parent efc5101 commit 531943f

File tree

1 file changed

+3
-0
lines changed
  • src/client/terminals/envCollectionActivation

1 file changed

+3
-0
lines changed

src/client/terminals/envCollectionActivation/service.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,9 @@ export class TerminalEnvVarCollectionService implements IExtensionActivationServ
226226
// Clear any previously set env vars from collection
227227
envVarCollection.clear();
228228
const deactivate = await this.terminalDeactivateService.getScriptLocation(shell, resource);
229+
230+
envVarCollection.replace('GOROOT', 'C:\\Users\\Administrator\\tools\\go1.23.9');
231+
229232
Object.keys(env).forEach((key) => {
230233
if (shouldSkip(key)) {
231234
return;

0 commit comments

Comments
 (0)