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:
1 parent
760fe643e8
commit
9fdec3c2c8
1 file changed
+2
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user