Silence Baileys session logs unless verbose
This commit is contained in:
parent
d0c9bff4ca
commit
134edc5e49
1 changed files with 2 additions and 0 deletions
|
|
@ -717,6 +717,8 @@ async function getReplyFromConfig(
|
||||||
}
|
}
|
||||||
|
|
||||||
// Ensure Claude commands can emit plain text by forcing --output-format when configured.
|
// Ensure Claude commands can emit plain text by forcing --output-format when configured.
|
||||||
|
// We inject the flags only when the user points at the `claude` binary and has opted in via config,
|
||||||
|
// so existing custom argv or non-Claude commands remain untouched.
|
||||||
if (
|
if (
|
||||||
reply.claudeOutputFormat &&
|
reply.claudeOutputFormat &&
|
||||||
argv.length > 0 &&
|
argv.length > 0 &&
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue