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
-fail-on-error
doesn't work. reviewdog returns zero as exit code even if warnings are found in input
#1408
Comments
-fail-on-error
doesn't work. reviewdog returns zero as exit code even if warnings are found in input
I've been seeing the same thing, the output logs show errors but it doesn't exit 1. It doesn't even report the error to GitHub. It doesn't seem to be very consistent. |
I had the same issue, so I decided to run
The You can skip the first step, and |
Here's an example of how one format reports failure, the other doesn't: Run with eslint output format:
Run with rdjson format:
|
Actually, I think my comments above are inaccurate. I wasn't passing |
Facing the same issue, using |
This is a bug report of
-fail-on-error
option. Even if warnings are found in input,reviewdog
command returns zero as exit code.How to reproduce
main.tf
// hello
Expected behaviour
The exit code of
reviewdog
command is not zero because warning is outputted.Actual behaviour
The exit code of
reviewdog
command is zero.The text was updated successfully, but these errors were encountered: