BigW Consortium Gitlab

Commit b617455d by Dmitriy Zaporozhets

Dont exit from brakeman rake task

parent 6c1074e3
desc 'Security check via brakeman' desc 'Security check via brakeman'
task :brakeman do task :brakeman do
if system("brakeman --skip-files lib/backup/repository.rb -w3 -z") if system("brakeman --skip-files lib/backup/repository.rb -w3 -z")
exit 0 puts 'Security check succeed'
else else
puts 'Security check failed' puts 'Security check failed'
exit 1 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