gitlab-org--gitlab-foss/lib/tasks/brakeman.rake
2015-03-02 18:11:50 -08:00

9 lines
194 B
Ruby

desc 'Security check via brakeman'
task :brakeman do
if system("brakeman --skip-files lib/backup/repository.rb -w3 -z")
exit 0
else
puts 'Security check failed'
exit 1
end
end