Skip to content

Commit 323ec24

Browse files
Kartik Rajwesm
Kartik Raj
authored andcommitted
Fix the interpreter selected by 'new venv' prompt (microsoft/vscode-python#18417)
1 parent 0e95f28 commit 323ec24

File tree

1 file changed

+1
-0
lines changed
  • extensions/positron-python/src/client/pythonEnvironments

1 file changed

+1
-0
lines changed

extensions/positron-python/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)