-
Notifications
You must be signed in to change notification settings - Fork 245
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
Exit 0 Status Code on Report Failure #288
Comments
Same problem. We want to exit with non-0 status when there in a failure (not lint error) and 0 exit code when there are only lint errors. |
Adding another example: We run pronto in CI like so:
The only runner we're using is What we expected to happen:
What actually happens: Items 1-3 are all fine. Item #4 does not happen. Pronto exits with code |
Is there any traction on this issue? |
We've noticed that pronto exits with a code of 0 when it fails to report to Github.
--exit-code
seems to only report non-0 exits when there is a lint error, not an internal failure.Right now we're working around it by capturing stderr and testing for it to be empty:
But it would be nice if there were an additional flag to specify an exit code for reporting issues or internal pronto errors.
The text was updated successfully, but these errors were encountered: