mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 12:10:49 +00:00
Use correct pkg arg
This commit is contained in:
parent
bc51c839d0
commit
c70659b7a1
2 changed files with 2 additions and 2 deletions
2
build.js
2
build.js
|
|
@ -73,7 +73,7 @@ function buildSafeChainBinary(target) {
|
|||
// eslint-disable-next-line no-console
|
||||
console.error("Target: " + target);
|
||||
return new Promise((resolve, reject) => {
|
||||
const pkg = spawn("pkg", ["./build/package.json", `--target=${target}`], {
|
||||
const pkg = spawn("pkg", ["./build/package.json", "--targets", target], {
|
||||
stdio: "inherit",
|
||||
shell: true,
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue