Skip to content

Commit

Permalink
check for install results size
Browse files Browse the repository at this point in the history
  • Loading branch information
sandy081 committed Jul 7, 2021
1 parent 9cff66f commit df338a7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 })));
}
}
Expand Down

0 comments on commit df338a7

Please sign in to comment.