Skip to content

Commit 67d9831

Browse files
Kartik Rajkarthiknadig
Kartik Raj
authored andcommitted
Fix the interpreter selected by 'new venv' prompt (#18417)
1 parent 0c7483a commit 67d9831

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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)