From 04be06ff6f1d7c1077d5f09dbe9f2cbad605c80d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Moreno?= Date: Wed, 20 May 2020 15:23:10 +0200 Subject: [PATCH] fix skip remote --- build/npm/postinstall.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/npm/postinstall.js b/build/npm/postinstall.js index f3a5e221a4a..7b8b710636a 100644 --- a/build/npm/postinstall.js +++ b/build/npm/postinstall.js @@ -33,7 +33,7 @@ function yarnInstall(location, opts) { yarnInstall('extensions'); // node modules shared by all extensions -if (!(process.platform === 'win32' && process.arch === 'arm64')) { +if (!(process.platform === 'win32' && process.env['npm_config_arch'] === 'arm64')) { yarnInstall('remote'); // node modules used by vscode server yarnInstall('remote/web'); // node modules used by vscode web }