@@ -109,11 +109,11 @@ export class TerminalService implements ITerminalService, Disposable {
109109 disposable . dispose ( ) ;
110110 resolve ( true ) ;
111111
112- // const shellIntegration = (terminal.shellIntegration as unknown) as { env: any };
113- // const tempEnv = shellIntegration.env;
114- // console.log(tempEnv);
115- // traceVerbose('Printing temp env from service.ts in terminal1', tempEnv);
116- // traceVerbose('finished printing temp env ');
112+ const shellIntegration = ( terminal . shellIntegration as unknown ) as { env : any } ;
113+ const tempEnv = shellIntegration . env ;
114+ console . log ( tempEnv ) ;
115+ traceVerbose ( 'Printing temp env from service.ts in terminal1' , tempEnv ) ;
116+ traceVerbose ( 'finished printing temp env ' ) ;
117117 } ) ;
118118 const TIMEOUT_DURATION = 500 ;
119119 const timer = setTimeout ( ( ) => {
@@ -133,11 +133,11 @@ export class TerminalService implements ITerminalService, Disposable {
133133 } else if ( terminal . shellIntegration ) {
134134 const execution = terminal . shellIntegration . executeCommand ( commandLine ) ;
135135
136- // const shellIntegration = (terminal.shellIntegration as unknown) as { env: any };
137- // const tempEnv = shellIntegration.env;
138- // console.log(tempEnv);
139- // traceVerbose('Printing temp env from service.ts in terminal2', tempEnv);
140- // traceVerbose('finished printing temp env ');
136+ const shellIntegration = ( terminal . shellIntegration as unknown ) as { env : any } ;
137+ const tempEnv = shellIntegration . env ;
138+ console . log ( tempEnv ) ;
139+ traceVerbose ( 'Printing temp env from service.ts in terminal2' , tempEnv ) ;
140+ traceVerbose ( 'finished printing temp env ' ) ;
141141 // traceVerbose(`Shell Integration is enabled, executeCommand: ${commandLine}`);
142142 return execution ;
143143 } else {
0 commit comments