Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Doesn't exit with non-zero error code on error by default #1083
Hi, I was wondering why brakeman doesn't exit with a non-zero exit code on errors by default. The documentation actually suggests that it should (brakeman options on the -z flag):
Only when you use the recently introduced
Also vote for the -z flag as default (see #852)
Tested and verified on both v3.7.2 and v3.2.1
Ah I see!
I think for all uses in scripts that rely on a meaningful exit code (which I guess is a 100% match e.g. in continuous integration setups) it would be the better default. People that just run brakeman to see the report won't be negatively affected by the change either.