Welcome to mirror list, hosted at ThFree Co, Russian Federation.

brakeman.rake « tasks « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: abcb5f0ae46e011bea9f5d8298f66dd3c9ce367b (plain)
1
2
3
4
5
6
7
8
9
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