diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-03-02 18:11:50 -0800 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-03-02 18:11:50 -0800 |
commit | 16e899ca8b44a87883464ada507f521d02548fe2 (patch) | |
tree | d7b4dde6abfe0c5d204dcab24cf32bc0f77dc68d /lib/tasks/brakeman.rake | |
parent | cc877c53abbb1a8799b35dddac35b963dd5ecfdd (diff) | |
download | gitlab-ce-16e899ca8b44a87883464ada507f521d02548fe2.tar.gz |
Add brakeman rake task and improve code security
Diffstat (limited to 'lib/tasks/brakeman.rake')
-rw-r--r-- | lib/tasks/brakeman.rake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tasks/brakeman.rake b/lib/tasks/brakeman.rake index 0a1e76ea822..abcb5f0ae46 100644 --- a/lib/tasks/brakeman.rake +++ b/lib/tasks/brakeman.rake @@ -1,6 +1,6 @@ desc 'Security check via brakeman' task :brakeman do - if system("brakeman -w3 -z") + if system("brakeman --skip-files lib/backup/repository.rb -w3 -z") exit 0 else puts 'Security check failed' |