-
Notifications
You must be signed in to change notification settings - Fork 38
Closed
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bug
Description
1) Interpreter Selection - resolveGlobalEnvironmentByPriority
should use defaultInterpreterPath for global scope when configured:
TypeError: ((0 , workspace_apis_1.getWorkspaceFolders)(...) ?? []).forEach is not a function
at resolveVariables (src/common/utils/internalVariables.ts:20:35)
at resolvePriorityChainCore (src/features/interpreterSelection.ts:109:57)
at resolveGlobalEnvironmentByPriority (src/features/interpreterSelection.ts:177:30)
at Context.<anonymous> (src/test/features/interpreterSelection.unit.test.ts:740:64)
at processImmediate (node:internal/timers:485:21)
2) Interpreter Selection - resolveGlobalEnvironmentByPriority
should use original user path for global scope even when nativeFinder resolves to different executable:
TypeError: ((0 , workspace_apis_1.getWorkspaceFolders)(...) ?? []).forEach is not a function
at resolveVariables (src/common/utils/internalVariables.ts:20:35)
at resolvePriorityChainCore (src/features/interpreterSelection.ts:109:57)
at resolveGlobalEnvironmentByPriority (src/features/interpreterSelection.ts:177:30)
at Context.<anonymous> (src/test/features/interpreterSelection.unit.test.ts:784:64)
at processImmediate (node:internal/timers:485:21)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bug