File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ import { EventNames } from './common/telemetry/constants';
99import { sendManagerSelectionTelemetry } from './common/telemetry/helpers' ;
1010import { sendTelemetryEvent } from './common/telemetry/sender' ;
1111import { createDeferred } from './common/utils/deferred' ;
12+ import { normalizePath } from './common/utils/pathUtils' ;
1213import { isWindows } from './common/utils/platformUtils' ;
1314import {
1415 activeTerminal ,
@@ -620,7 +621,7 @@ async function resolveDefaultInterpreter(
620621 try {
621622 const resolved : NativeEnvInfo = await nativeFinder . resolve ( defaultInterpreterPath ) ;
622623 if ( resolved && resolved . executable ) {
623- if ( resolved . executable === defaultInterpreterPath ) {
624+ if ( normalizePath ( resolved . executable ) === normalizePath ( defaultInterpreterPath ) ) {
624625 // no action required, the path is already correct
625626 return ;
626627 }
You can’t perform that action at this time.
0 commit comments