From bc40ad630753be707c69087dc245d2eb0abc79bb Mon Sep 17 00:00:00 2001 From: Sandeep Somavarapu Date: Tue, 9 Jul 2024 14:37:38 +0200 Subject: [PATCH] fix #219941 (#221267) fix #219941 (#221260) --- .../extensionManagement/common/extensionManagementCLI.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vs/platform/extensionManagement/common/extensionManagementCLI.ts b/src/vs/platform/extensionManagement/common/extensionManagementCLI.ts index 17c76f6fe7040..b5c7432cf12da 100644 --- a/src/vs/platform/extensionManagement/common/extensionManagementCLI.ts +++ b/src/vs/platform/extensionManagement/common/extensionManagementCLI.ts @@ -224,7 +224,7 @@ export class ExtensionManagementCLI { } extensionsToInstall.push({ extension: gallery, - options: { ...installOptions, installGivenVersion: !!version, isApplicationScoped: installedExtension?.isApplicationScoped }, + options: { ...installOptions, installGivenVersion: !!version, isApplicationScoped: installOptions.isApplicationScoped || installedExtension?.isApplicationScoped }, }); }));