Skip to content

Commit 8061d74

Browse files
committed
Merge branch 'eleanorjboyd-fix-searchpaths' into upstream-main
2 parents 23e2430 + c03ff0e commit 8061d74

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/managers/common/nativePythonFinder.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -196,10 +196,9 @@ class NativePythonFinderImpl implements NativePythonFinder {
196196
uriSearchPaths.push(...venvFolders);
197197
return { searchPaths: uriSearchPaths };
198198
}
199-
} else {
200-
// if no options, then search venvFolders
201-
return { searchPaths: venvFolders };
202199
}
200+
// return undefined to use configured defaults (for nativeFinder refresh)
201+
return undefined;
203202
}
204203

205204
private start(): rpc.MessageConnection {

0 commit comments

Comments
 (0)