Skip to content
This repository was archived by the owner on Jul 24, 2024. It is now read-only.

Commit d852035

Browse files
committed
Properly propagate arch property
1 parent 1e4a72a commit d852035

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/build.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ if (!ModuleDetails) {
107107
}
108108
if (ModuleDetails[0] === Constants.Runtimes.ELECTRON) {
109109
gypOptions['dist-url'] = 'https://atom.io/download/electron';
110-
gypOptions.arch = process.platform === 'win32' ? 'ia32' : process.arch;
110+
argv.arch = gypOptions.arch = process.platform === 'win32' ? 'ia32' : process.arch;
111111
}
112112

113113
build(gypOptions, function (errorCode) {

0 commit comments

Comments
 (0)