Commit cae978a9 authored by Jacob Vosmaer's avatar Jacob Vosmaer

We would like to pass 'brakeman -w2'

parent 6fdc51f8
desc 'Security check via brakeman' desc 'Security check via brakeman'
task :brakeman do task :brakeman do
# We get 0 warnings at level 'w3' but we would like to reach 'w2'. Merge
# requests are welcome!
if system("brakeman --skip-files lib/backup/repository.rb -w3 -z") if system("brakeman --skip-files lib/backup/repository.rb -w3 -z")
puts 'Security check succeed' puts 'Security check succeed'
else else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment