Use correct pkg arg

This commit is contained in:
Sander Declerck 2025-11-28 11:06:43 +01:00
parent bc51c839d0
commit c70659b7a1
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -50,7 +50,7 @@ jobs:
- name: Set up Node.js - name: Set up Node.js
uses: actions/setup-node@v3 uses: actions/setup-node@v3
with: with:
node-version: "lts/*" node-version: "22.x"
- name: Setup safe-chain - name: Setup safe-chain
run: | run: |

View file

@ -73,7 +73,7 @@ function buildSafeChainBinary(target) {
// eslint-disable-next-line no-console // eslint-disable-next-line no-console
console.error("Target: " + target); console.error("Target: " + target);
return new Promise((resolve, reject) => { 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", stdio: "inherit",
shell: true, shell: true,
}); });