From: Yadd Date: Sun, 26 Jan 2025 15:18:40 +0000 (+0100) Subject: replace "npm run" by pkgjs-run X-Git-Tag: archive/raspbian/7.3.0+dfsg1+_cs24.12.11-1+rpi1^2~4 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=21187bf4509ba383fa275d1aa2b3410e27605c11;p=node-undici.git replace "npm run" by pkgjs-run Forwarded: not-needed Last-Update: 2023-02-17 Gbp-Pq: Name replace-npm-run.patch --- diff --git a/llhttp/bin/build_wasm.ts b/llhttp/bin/build_wasm.ts index f8be3d2..66fd6fd 100644 --- a/llhttp/bin/build_wasm.ts +++ b/llhttp/bin/build_wasm.ts @@ -43,7 +43,7 @@ if (process.argv[2] === '--docker') { // @ts-ignore cmd += ` --user ${process.getuid!()}:${process.getegid!()}`; } - cmd += ` --mount type=bind,source=${WASM_SRC}/build,target=/home/node/llhttp/build llhttp_wasm_builder npm run wasm`; + cmd += ` --mount type=bind,source=${WASM_SRC}/build,target=/home/node/llhttp/build llhttp_wasm_builder pkgjs-run wasm`; // eslint-disable-next-line no-console console.log(`> ${cmd}\n\n`); @@ -61,7 +61,7 @@ try { } // Build ts -execSync('npm run build', { cwd: WASM_SRC, stdio: 'inherit' }); +execSync('pkgjs-run build', { cwd: WASM_SRC, stdio: 'inherit' }); // Build wasm binary execSync(