Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

Commit

Permalink
build: fix improper use of ".concat"
Browse files Browse the repository at this point in the history
  • Loading branch information
jesec committed Apr 13, 2021
1 parent 748f67a commit e59b746
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ async function compileOnUnix(nodeVersion: string, targetArch: string) {
args.push('--cross-compiling');
}

args.concat(getConfigureArgs(getMajor(nodeVersion)));
args.push(...getConfigureArgs(getMajor(nodeVersion)));

// TODO same for windows?
spawnSync('./configure', args, { cwd: nodePath, stdio: 'inherit' });
Expand Down

0 comments on commit e59b746

Please sign in to comment.