File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -435,7 +435,7 @@ class NativePythonFinderImpl implements NativePythonFinder {
435435 this . connection . dispose ( ) ;
436436 }
437437
438- private getRefreshOptions ( options ?: NativePythonEnvironmentKind | Uri [ ] ) : RefreshOptions | undefined {
438+ private getRefreshOptions ( options ?: NativePythonEnvironmentKind | Uri [ ] ) : RefreshOptions {
439439 // Note: venvFolders is also fetched in getAllExtraSearchPaths() for configure().
440440 // This duplication is intentional: when searchPaths is provided to the native finder,
441441 // it may override (not supplement) the configured environmentDirectories.
@@ -452,8 +452,8 @@ class NativePythonFinderImpl implements NativePythonFinder {
452452 return { searchPaths : uriSearchPaths } ;
453453 }
454454 }
455- // return undefined to use configured defaults (for nativeFinder refresh)
456- return undefined ;
455+ // return empty object to use configured defaults (for nativeFinder refresh)
456+ return { } ;
457457 }
458458
459459 private start ( ) : rpc . MessageConnection {
You can’t perform that action at this time.
0 commit comments