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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-05-12 13:21:11 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-05-12 13:21:11 +0300
commitff13fb0ab5caddfc431a681f40eac96eb2750e3b (patch)
treeb7d2a1dea30802932523a194b39ed1e1385e2fd9 /lib/tasks/brakeman.rake
parent3b88a6e09e6b93e76da66f0eff10062a2f10a46c (diff)
parentcae978a9e814030e07f94e05dafdce38ad1f7b88 (diff)
Merge branch 'brakeman-level'
Conflicts: lib/tasks/brakeman.rake
Diffstat (limited to 'lib/tasks/brakeman.rake')
-rw-r--r--lib/tasks/brakeman.rake2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/tasks/brakeman.rake b/lib/tasks/brakeman.rake
index 52a9b017e79..5d4e0740373 100644
--- a/lib/tasks/brakeman.rake
+++ b/lib/tasks/brakeman.rake
@@ -1,5 +1,7 @@
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(*%W(brakeman --skip-files lib/backup/repository.rb -w3 -z))
puts 'Security check succeed'
else