File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
src/client/interpreter/activation Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 4646 "theme" : " dark"
4747 },
4848 "engines" : {
49- "vscode" : " ^1.79.0-20230526 "
49+ "vscode" : " ^1.81 "
5050 },
5151 "enableTelemetry" : false ,
5252 "keywords" : [
Original file line number Diff line number Diff line change @@ -164,13 +164,13 @@ export class TerminalEnvVarCollectionService implements IExtensionActivationServ
164164 }
165165 }
166166
167- for ( const key in previousEnv ) {
168- // If the previous env var is not in the current env, clear it from collection.
167+ envVarCollection . forEach ( ( key ) => {
168+ // If a previously set env var is not in the current env, clear it from collection.
169169 if ( ! ( key in env ) ) {
170170 traceVerbose ( `Clearing environment variable ${ key } from collection` ) ;
171171 envVarCollection . delete ( key ) ;
172172 }
173- }
173+ } ) ;
174174
175175 const displayPath = this . pathUtils . getDisplayName ( settings . pythonPath , workspaceFolder ?. uri . fsPath ) ;
176176 const description = new MarkdownString ( `${ Interpreters . activateTerminalDescription } \`${ displayPath } \`` ) ;
You can’t perform that action at this time.
0 commit comments