Dont exit from brakeman rake task
This commit is contained in:
parent
6c1074e302
commit
b617455d2d
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
desc 'Security check via brakeman'
|
||||
task :brakeman do
|
||||
if system("brakeman --skip-files lib/backup/repository.rb -w3 -z")
|
||||
exit 0
|
||||
puts 'Security check succeed'
|
||||
else
|
||||
puts 'Security check failed'
|
||||
exit 1
|
||||
|
|
Loading…
Reference in a new issue