Dont exit from brakeman rake task

This commit is contained in:
Dmitriy Zaporozhets 2015-03-19 08:37:21 -07:00
parent 6c1074e302
commit b617455d2d

View file

@ -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