File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/client/interpreter/activation Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ import { getSearchPathEnvVarNames } from '../../common/utils/exec';
36
36
import { EnvironmentVariables } from '../../common/variables/types' ;
37
37
import { TerminalShellType } from '../../common/terminal/types' ;
38
38
import { OSType } from '../../common/utils/platform' ;
39
+ import { normCase } from '../../common/platform/fs-paths' ;
39
40
40
41
@injectable ( )
41
42
export class TerminalEnvVarCollectionService implements IExtensionActivationService , ITerminalEnvVarCollectionService {
@@ -383,7 +384,7 @@ function getPromptForEnv(interpreter: PythonEnvironment | undefined) {
383
384
function normCaseKeys ( env : EnvironmentVariables ) : EnvironmentVariables {
384
385
const result : EnvironmentVariables = { } ;
385
386
Object . keys ( env ) . forEach ( ( key ) => {
386
- result [ key . toUpperCase ( ) ] = env [ key ] ;
387
+ result [ normCase ( key ) ] = env [ key ] ;
387
388
} ) ;
388
389
return result ;
389
390
}
You can’t perform that action at this time.
0 commit comments