Skip to content
Snippets Groups Projects
Commit cae978a9 authored by Jacob Vosmaer (GitLab)'s avatar Jacob Vosmaer (GitLab)
Browse files

We would like to pass 'brakeman -w2'

parent 6fdc51f8
No related branches found
No related tags found
No related merge requests found
desc 'Security check via brakeman'
task :brakeman do
# We get 0 warnings at level 'w3' but we would like to reach 'w2'. Merge
# requests are welcome!
if system("brakeman --skip-files lib/backup/repository.rb -w3 -z")
puts 'Security check succeed'
else
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment