Skip to content

Commit ad45050

Browse files
author
Kartik Raj
authored
Fix the interpreter selected by 'new venv' prompt (#18417)
1 parent 2ab1ac6 commit ad45050

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/client/pythonEnvironments/legacyIOC.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,7 @@ class ComponentAdapter implements IComponentAdapter {
292292
const query: PythonLocatorQuery = {
293293
searchLocations: {
294294
roots: [workspaceFolder.uri],
295+
doNotIncludeNonRooted: true,
295296
},
296297
};
297298
if (options?.ignoreCache) {

0 commit comments

Comments
 (0)