fix
patch
init
task/init-json-clean-stderr
#1 / 1
fix(init): suppress human-readable stderr log when --json is active
When --json is passed, machine consumers read warnings from the JSON payload. Emitting logger.warning() to stderr in the same invocation is redundant noise. _copy_template() now accepts as_json=True and skips logger.warning() in that mode; the warnings list remains the sole channel for machine consumers.
sha256:4956da5d3f55a0c39a05441e006e87b71963d4d658135e7e683d127c09bfec4a
sha
sha256:f3885dbb7cd9816fdc8ae0017325ff057ea99f354f254f0ae67800df304d5ec0
snapshot
← Older
Oldest on task/init-json-clean-stderr
All commits
Newer →
Latest on task/init-json-clean-stderr
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:4956da5d3f55a0c39a05441e006e87b71963d4d658135e7e683d127c09bfec4a --body "your comment"
No comments yet. Be the first to start the discussion.