Skip to content

Commit 7137217

Browse files
committed
exclude env
1 parent 6b9b146 commit 7137217

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

src/client/common/terminal/service.ts

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -102,11 +102,11 @@ export class TerminalService implements ITerminalService, Disposable {
102102
disposable.dispose();
103103
resolve(true);
104104

105-
const shellIntegration = (terminal.shellIntegration as unknown) as { env: any };
106-
const tempEnv = shellIntegration.env;
107-
console.log(tempEnv);
108-
traceVerbose('Printing temp env from service.ts in terminal1', tempEnv);
109-
traceVerbose('finished printing temp env ');
105+
// const shellIntegration = (terminal.shellIntegration as unknown) as { env: any };
106+
// const tempEnv = shellIntegration.env;
107+
// console.log(tempEnv);
108+
// traceVerbose('Printing temp env from service.ts in terminal1', tempEnv);
109+
// traceVerbose('finished printing temp env ');
110110
});
111111
const TIMEOUT_DURATION = 500;
112112
const timer = setTimeout(() => {
@@ -126,12 +126,12 @@ export class TerminalService implements ITerminalService, Disposable {
126126
} else if (terminal.shellIntegration) {
127127
const execution = terminal.shellIntegration.executeCommand(commandLine);
128128

129-
const shellIntegration = (terminal.shellIntegration as unknown) as { env: any };
130-
const tempEnv = shellIntegration.env;
131-
console.log(tempEnv);
132-
traceVerbose('Printing temp env from service.ts in terminal2', tempEnv);
133-
traceVerbose('finished printing temp env ');
134-
traceVerbose(`Shell Integration is enabled, executeCommand: ${commandLine}`);
129+
// const shellIntegration = (terminal.shellIntegration as unknown) as { env: any };
130+
// const tempEnv = shellIntegration.env;
131+
// console.log(tempEnv);
132+
// traceVerbose('Printing temp env from service.ts in terminal2', tempEnv);
133+
// traceVerbose('finished printing temp env ');
134+
// traceVerbose(`Shell Integration is enabled, executeCommand: ${commandLine}`);
135135
return execution;
136136
} else {
137137
terminal.sendText(commandLine);

0 commit comments

Comments
 (0)