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
This commit is contained in:
Julius Marminge committed 2026-03-03 10:55:23 -08:00
1 parent 760fe643e8
commit 9fdec3c2c8
1 file changed
+2 -2
+2 -2
View File
@@ -135,11 +135,11 @@ const publishCmd = Command.make(
yield* Effect.log(`[cli] Running: npm ${args.join(" ")}`);
yield* runCommand(
ChildProcess.make({
ChildProcess.make("npm", [...args], {
cwd: serverDir,
stdout: config.verbose ? "inherit" : "ignore",
stderr: "inherit",
})`npm ${args.join(" ")}`,
}),
);
}),
// Release: restore