Commit b617455d authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Dont exit from brakeman rake task

parent 6c1074e3
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
......
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