From df338a787b947af98dac8a76581cb2e12bdaa3be Mon Sep 17 00:00:00 2001 From: Sandeep Somavarapu Date: Wed, 7 Jul 2021 12:16:46 +0200 Subject: [PATCH] check for install results size --- .../extensionManagement/node/extensionManagementService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vs/platform/extensionManagement/node/extensionManagementService.ts b/src/vs/platform/extensionManagement/node/extensionManagementService.ts index d87f64dd9a44c..a66bde00a0f1e 100644 --- a/src/vs/platform/extensionManagement/node/extensionManagementService.ts +++ b/src/vs/platform/extensionManagement/node/extensionManagementService.ts @@ -410,7 +410,7 @@ export class ExtensionManagementService extends Disposable implements IExtension } throw error; } finally { - if (isBulkInstall) { + if (installResults.length && isBulkInstall) { this._onDidInstallExtensions.fire(installResults.map(({ gallery, local, operation }) => ({ identifier: local.identifier, gallery, local, operation }))); } }