From e2147a9f99f96a6adb82fc3165e17e7bb9011b9e Mon Sep 17 00:00:00 2001 From: Kartik Raj Date: Tue, 25 Jul 2023 12:07:20 -0700 Subject: [PATCH] Do not show "Select at workspace level" option if only one workspace folder is opened --- .../configuration/interpreterSelector/commands/base.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/interpreter/configuration/interpreterSelector/commands/base.ts b/src/client/interpreter/configuration/interpreterSelector/commands/base.ts index 6ed2dee36c89..6307e286dbfe 100644 --- a/src/client/interpreter/configuration/interpreterSelector/commands/base.ts +++ b/src/client/interpreter/configuration/interpreterSelector/commands/base.ts @@ -53,7 +53,7 @@ export abstract class BaseInterpreterSelectorCommand implements IExtensionSingle }, ]; } - if (!this.workspaceService.workspaceFile && workspaceFolders.length === 1) { + if (workspaceFolders.length === 1) { return [ { folderUri: workspaceFolders[0].uri,