Skip to content

Commit 908503e

Browse files
committed
ignore remote and web when yarn in arm64
1 parent bbe787a commit 908503e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

build/npm/postinstall.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ function yarnInstall(location, opts) {
3333

3434
yarnInstall('extensions'); // node modules shared by all extensions
3535

36-
if (!(process.platform === 'win32' && process.env['npm_config_arch'] === 'arm64')) {
36+
if (!(process.platform === 'win32' && (process.arch === 'arm64' || process.env['npm_config_arch'] === 'arm64'))) {
3737
yarnInstall('remote'); // node modules used by vscode server
3838
yarnInstall('remote/web'); // node modules used by vscode web
3939
}

0 commit comments

Comments
 (0)