authorgravatar for julius0216@outlook.comJulius Marminge <julius0216@outlook.com> 2026-03-03 10:55:23-08:00
committergravatar for julius0216@outlook.comJulius Marminge <julius0216@outlook.com> 2026-03-03 10:55:23-08:00
log9fdec3c2c8fbc1647843bb2f49a45224daa5aa30
treec4552abe9214a90de5fc3087ae054ec0d807e922
parent760fe643e857d5b5f9fcd1cb4ceb9fe55df988fc

Fix npm publish command process invocation

- Pass command and args directly to `ChildProcess.make` in the publish CLI - Remove fragile template-literal invocation to ensure command runs reliably

1 files changed, 2 insertions(+), 2 deletions(-)

apps/server/scripts/cli.ts+2-2
...@@ -135,11 +135,11 @@ const publishCmd = Command.make(...@@ -135,11 +135,11 @@ const publishCmd = Command.make(
135135
136 yield* Effect.log(`[cli] Running: npm ${args.join(" ")}`);136 yield* Effect.log(`[cli] Running: npm ${args.join(" ")}`);
137 yield* runCommand(137 yield* runCommand(
138 ChildProcess.make({138 ChildProcess.make("npm", [...args], {
139 cwd: serverDir,139 cwd: serverDir,
140 stdout: config.verbose ? "inherit" : "ignore",140 stdout: config.verbose ? "inherit" : "ignore",
141 stderr: "inherit",141 stderr: "inherit",
142 })`npm ${args.join(" ")}`,142 }),
143 );143 );
144 }),144 }),
145 // Release: restore145 // Release: restore