We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 364e793 commit 3359a2eCopy full SHA for 3359a2e
src/client/pythonEnvironments/base/locatorUtils.ts
@@ -44,7 +44,8 @@ export function getQueryFilter(query: PythonLocatorQuery): (env: PythonEnvInfo)
44
return query.searchLocations === undefined;
45
}
46
// Check against the requested roots.
47
- return locationFilters.some((filter) => filter(env.searchLocation!));
+ const loc = env.searchLocation;
48
+ return locationFilters.some((filter) => filter(loc));
49
50
51
return (env) => {
0 commit comments