Skip to content
This repository was archived by the owner on Sep 19, 2025. It is now read-only.

Commit b004f2f

Browse files
Fix architecture logic
1 parent d72c342 commit b004f2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/google-closure-compiler-linux/build-image.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const runCommand = require('../../build-scripts/run-command');
2828

2929
if (fs.existsSync(path.resolve(__dirname, 'compiler'))) {
3030
process.stdout.write(` ${DIM}google-closure-compiler-linux binary already exists${RESET}\n`);
31-
} else if (process.platform !== 'linux' || ['x86', 'x64'].includes(process.arch)) {
31+
} else if (process.platform !== 'linux' || !['x32', 'x64'].includes(process.arch)) {
3232
process.stdout.write(` ${DIM}google-closure-compiler-linux build wrong platform${RESET}\n`);
3333
} else {
3434
process.stdout.write(` ${DIM}google-closure-compiler-linux building image${RESET}\n`);

0 commit comments

Comments
 (0)