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:
authorNick Thomas <nick@gitlab.com>2017-11-22 20:46:40 +0300
committerNick Thomas <nick@gitlab.com>2017-11-22 22:51:57 +0300
commit11d0787961b33efdbfdad9bf0bbc48afecc3cc53 (patch)
treee03250eba46094d657083cca9b938b4a6734bf1e /lib/tasks/brakeman.rake
parent743fd67f73875dac071287ef8bb91a2392359ba3 (diff)
Speed up Unicorn specs by using a dummy Rack application instead of GitLab
Diffstat (limited to 'lib/tasks/brakeman.rake')
-rw-r--r--lib/tasks/brakeman.rake2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tasks/brakeman.rake b/lib/tasks/brakeman.rake
index 99b3168d9eb..2301ec9b228 100644
--- a/lib/tasks/brakeman.rake
+++ b/lib/tasks/brakeman.rake
@@ -2,7 +2,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 --no-progress --skip-files lib/backup/repository.rb,app/controllers/unicorn_test_controller.rb -w3 -z))
+ if system(*%w(brakeman --no-progress --skip-files lib/backup/repository.rb -w3 -z))
puts 'Security check succeed'
else
puts 'Security check failed'