-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Return error code when process exits with error #94
Comments
Some technical details for someone who wants to pick this: I suggest you move contents from Fixing on |
I don't agree with this, I think we should continue to use See also #88 (comment). |
@jyn514 but we can't return Why call |
I don't think we should be using Lines 184 to 186 in c4c5e19
Lines 154 to 162 in c4c5e19
I guess standardizing on |
By My suggestion of wrapping stuff around a |
Shouldn't this issue be closed by now? I can't reproduce exit code 0 on errors. Some of the erroring commands I've tried:
|
I found some Lines 187 to 190 in 5075756
|
Current behavior
With the exception of this metadata error that usually occurs when you're not running inside a project:
cargo-sweep/src/main.rs
Lines 154 to 157 in 475ac9e
For every possible error in
cargo-sweep
, it reports the error and exits with a success exit code.Expected behavior
The
cargo-sweep
process should exit with an error exit code.The text was updated successfully, but these errors were encountered: