File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
src/client/terminals/envCollectionActivation Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ import {
4444} from '../types' ;
4545import { ProgressService } from '../../common/application/progressService' ;
4646import { useEnvExtension } from '../../envExt/api.internal' ;
47+ import { registerPythonStartup } from '../pythonStartup' ;
4748
4849@injectable ( )
4950export class TerminalEnvVarCollectionService implements IExtensionActivationService , ITerminalEnvVarCollectionService {
@@ -98,6 +99,7 @@ export class TerminalEnvVarCollectionService implements IExtensionActivationServ
9899 try {
99100 if ( ! inTerminalEnvVarExperiment ( this . experimentService ) ) {
100101 this . context . environmentVariableCollection . clear ( ) ;
102+ await registerPythonStartup ( this . context ) ;
101103 await this . handleMicroVenv ( resource ) ;
102104 if ( ! this . registeredOnce ) {
103105 this . interpreterService . onDidChangeInterpreter (
You can’t perform that action at this time.
0 commit comments