fix(mac): keep pnpm health output json-safe

This commit is contained in:
Peter Steinberger
2025-12-07 15:09:26 +00:00
parent 4e2fb38d62
commit f878e5e635
3 changed files with 21 additions and 4 deletions

View File

@@ -250,7 +250,8 @@ enum CommandResolver {
}
}
if let pnpm = self.findExecutable(named: "pnpm") {
return [pnpm, "clawdis", subcommand] + extraArgs
// Use --silent to avoid pnpm lifecycle banners that would corrupt JSON outputs.
return [pnpm, "--silent", "clawdis", subcommand] + extraArgs
}
return ["clawdis", subcommand] + extraArgs
}