We would like to pass 'brakeman -w2'
This commit is contained in:
parent
6fdc51f81d
commit
cae978a9e8
|
@ -1,5 +1,7 @@
|
||||||
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
|
||||||
|
|
Loading…
Reference in New Issue