We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1bfb247 commit 9e7b370Copy full SHA for 9e7b370
Extension/src/main.ts
@@ -306,7 +306,7 @@ function makeOfflineBinariesExecutable(installBlob: InstallBlob): Thenable<void>
306
packages.forEach(p => {
307
if (p.binaries && p.binaries.length > 0 &&
308
p.platforms.findIndex(plat => plat === installBlob.info.platform) !== -1 &&
309
- p.architectures.findIndex(arch => arch === installBlob.info.architecture) !== - 1) {
+ (p.architectures == undefined || p.architectures.findIndex(arch => arch === installBlob.info.architecture) !== - 1)) {
310
p.binaries.forEach(binary => promises.push(util.allowExecution(util.getExtensionFilePath(binary))));
311
}
312
});
0 commit comments