fix: include both stdout and stderr in Bash tool output#456
fix: include both stdout and stderr in Bash tool output#456benbrandt merged 1 commit intoagentclientprotocol:mainfrom
Conversation
|
Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: Tahar BOUNSIAR.
|
When a Bash tool execution produced both stdout and stderr, only stdout was shown due to the || operator short-circuiting. This change concatenates both streams so error output is no longer silently dropped.
d3cb135 to
1f13327
Compare
|
We require contributors to sign our Contributor License Agreement, and we don't have @tbounsiar on file. You can sign our CLA at https://zed.dev/cla. Once you've signed, post a comment here that says '@cla-bot check'. |
|
@cla-bot check |
|
We require contributors to sign our Contributor License Agreement, and we don't have @tbounsiar on file. You can sign our CLA at https://zed.dev/cla. Once you've signed, post a comment here that says '@cla-bot check'. |
|
The cla-bot has been summoned, and re-checked this pull request! |
|
@cla-bot check |
|
The cla-bot has been summoned, and re-checked this pull request! |
Summary
||operator short-circuiting[stdout, stderr].filter(Boolean).join("\n")so error output is no longer silently droppedTest plan
npm run buildcompiles cleannpm run lintpasses