Skip to content

Commit 8b9bca1

Browse files
author
Kartik Raj
authored
Do not show "Select at workspace level" option if only one workspace folder is opened (#21689)
Closes #21220
1 parent f536b74 commit 8b9bca1

File tree

1 file changed

+1
-1
lines changed
  • src/client/interpreter/configuration/interpreterSelector/commands

1 file changed

+1
-1
lines changed

src/client/interpreter/configuration/interpreterSelector/commands/base.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export abstract class BaseInterpreterSelectorCommand implements IExtensionSingle
5353
},
5454
];
5555
}
56-
if (!this.workspaceService.workspaceFile && workspaceFolders.length === 1) {
56+
if (workspaceFolders.length === 1) {
5757
return [
5858
{
5959
folderUri: workspaceFolders[0].uri,

0 commit comments

Comments
 (0)