Repository navigation
fix: Handle write failures when printing --help/--version - #656
Merged
Merged
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #656 +/- ##
==========================================
+ Coverage 92.04% 92.09% +0.05%
==========================================
Files 35 35
Lines 7099 7101 +2
Branches 370 370
==========================================
+ Hits 6534 6540 +6
+ Misses 421 418 -3
+ Partials 144 143 -1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
sylvestre
requested changes
Jun 4, 2026
sylvestre
left a comment
Contributor
There was a problem hiding this comment.
sorry, needs to be rebased
Xylphy
force-pushed
the
fix/help-version-write-errors-622
branch
from
June 6, 2026 08:48
6c05ce0 to
a26b551
Compare
Contributor
|
please run cargo fmt |
Xylphy
marked this pull request as draft
June 6, 2026 09:13
Xylphy
marked this pull request as ready for review
June 6, 2026 09:22
Contributor
Author
|
@sylvestre Done 🙂 |
sylvestre
reviewed
Jun 6, 2026
1 task
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #622
Summary
Make
print_helpandprint_versionwrite via theDependenciesoutput and returnResult; propagate errors fromdo_findsofind_mainexits with a non-zero code instead of panicking.