Skip to content

Commit d148c5b

Browse files
committed
Missing -z option so brakeman returns non-zero
* Most important part of this fix. * Otherwise, brakeman reports errors AND there is no CI failure!
1 parent 4af4997 commit d148c5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: lib/tasks/ci.rake

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ if Rails.env.development?
99
task :security_audit do
1010
puts Rainbow("Running security audit on code (brakeman)").green
1111

12-
sh "brakeman --exit-on-warn --quiet -A"
12+
sh "brakeman --exit-on-warn --quiet -A -z"
1313
end
1414

1515
namespace :ci do

0 commit comments

Comments
 (0)