Skip to content

Commit bcd82c7

Browse files
authored
Merge branch 'main' into triage-needed-add
2 parents 6d35ed5 + 8061d74 commit bcd82c7

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

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)