The best way to control Claude Code, Codex and more from any computer or phone
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
Julius Marminge committed
Mar 3, 2026 at 10:55 UTC
9fdec3c2c8fbc1647843bb2f49a45224daa5aa30
1 file changed
+2
-2
apps/server/scripts/cli.ts
+2
-2
@@ -135,11 +135,11 @@ const publishCmd = Command.make(
135
136
yield* Effect.log(`[cli] Running: npm ${args.join(" ")}`);
137
yield* runCommand(
138
- ChildProcess.make({
138
+ ChildProcess.make("npm", [...args], {
139
cwd: serverDir,
140
stdout: config.verbose ? "inherit" : "ignore",
141
stderr: "inherit",
142
- })`npm ${args.join(" ")}`,
142
+ }),
143
);
144
}),
145
// Release: restore