Skip to content

Commit 04be06f

Browse files
committed
fix skip remote
1 parent d424ff2 commit 04be06f

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.arch === 'arm64')) {
36+
if (!(process.platform === 'win32' && 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)