Merge branch 'brakeman-level'
Conflicts: lib/tasks/brakeman.rake
This commit is contained in:
commit
ff13fb0ab5
1 changed files with 2 additions and 0 deletions
|
@ -1,5 +1,7 @@
|
|||
desc 'Security check via brakeman'
|
||||
task :brakeman do
|
||||
# We get 0 warnings at level 'w3' but we would like to reach 'w2'. Merge
|
||||
# requests are welcome!
|
||||
if system(*%W(brakeman --skip-files lib/backup/repository.rb -w3 -z))
|
||||
puts 'Security check succeed'
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue