-
Notifications
You must be signed in to change notification settings - Fork 732
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
make -z the default #852
Comments
That would be a pretty big change that could break things for users. While it's nice if people treat Brakeman as a test suite, it's not really the same and not everyone relies on it that way. |
What would be a usecase that does not need a false exit status ? |
Any time a user is expecting the exit status to mean Brakeman broke instead of meaning a warning was found. |
It's not very unixy to expect that ... especially any auditing/test command exits with 1 when the test/audit failed ... so I'd think it's the better default ... Imagining an opposite world: would you except a PR that removes the |
Changing the default is a problem, no matter what. I'm not sure it's worth it when it's been the same for five years. It would certainly require a major version change. |
I've seen brakeman used in 10+ projects and always with |
I 100% agree that |
Something related to |
@GermanDZ sorry that's a bug I introduced in 3.7.1. It will be fixed in the next release. Edit: although I don't know why it would be different on different OSes unless you are running different versions of Brakeman. |
any test framework returns 1 on failure ... brakeman should too
easy to forget when setting up and always having green builds -> super dangerous
The text was updated successfully, but these errors were encountered: