Fix error when cancelling out of VSIX dialog (#10752)

This commit is contained in:
Charles Gagnon
2020-06-08 07:38:37 -07:00
committed by GitHub
parent 6e3d960d1d
commit 193ecddb98

View File

@@ -2999,6 +2999,10 @@ export class InstallVSIXAction extends Action {
canSelectFiles: true,
openLabel: mnemonicButtonLabel(localize({ key: 'installButton', comment: ['&& denotes a mnemonic'] }, "&&Install"))
});
if (!vsixPaths) {
return;
}
}
await Promise.all(vsixPaths.map(async vsix => {