Skip to content
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

add rake task to exit with error code when fail #637

Merged
merged 1 commit into from Mar 22, 2015
Merged

add rake task to exit with error code when fail #637

merged 1 commit into from Mar 22, 2015

Conversation

masarakki
Copy link

it's useful for CI like travis.

presidentbeef added a commit that referenced this pull request Mar 22, 2015
Add rake task to exit with error code when warnings are found
@presidentbeef presidentbeef merged commit 18e75b6 into presidentbeef:master Mar 22, 2015
@presidentbeef
Copy link
Owner

Hi,

Thank you for this. I'm sure someone will find it useful, although I discourage using rake with Brakeman since it unnecessarily loads the entire Rails application.

@tunacasserole
Copy link

result.filtered_warnings.empty? was clutch. I can use that to send an email if any warnings are found without having to parse the output file.

Repository owner locked and limited conversation to collaborators Feb 16, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants