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:
authorJacob Vosmaer <contact@jacobvosmaer.nl>2015-05-11 19:11:09 +0300
committerJacob Vosmaer <contact@jacobvosmaer.nl>2015-05-11 19:11:09 +0300
commitcae978a9e814030e07f94e05dafdce38ad1f7b88 (patch)
tree39a144c9e7b12be0b6d43066a6008634a03c7be7 /lib/tasks/brakeman.rake
parent6fdc51f81d013a1e01c0742e81cdd0fa5476e2d6 (diff)
We would like to pass 'brakeman -w2'
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 3a225801ff2..d6e40926a49 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("brakeman --skip-files lib/backup/repository.rb -w3 -z")
puts 'Security check succeed'
else