summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJacob Vosmaer <contact@jacobvosmaer.nl>2015-05-11 11:11:03 +0200
committerJacob Vosmaer <contact@jacobvosmaer.nl>2015-05-11 11:11:03 +0200
commit0a47d8f3f418fe2e46c3bfe0f723ca0ff63e814c (patch)
tree4f5355b6f137fc66d988472f18012c53fd67c22c /lib
parent6fdc51f81d013a1e01c0742e81cdd0fa5476e2d6 (diff)
downloadgitlab-ce-0a47d8f3f418fe2e46c3bfe0f723ca0ff63e814c.tar.gz
Follow shell command guidelines in Brakeman task
There is no real issue here because the shell command is completely static, but it is still nicer to just follow the guidelines in doc/development/shell_commands.md .
Diffstat (limited to 'lib')
-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 3a225801ff2..52a9b017e79 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 --skip-files lib/backup/repository.rb -w3 -z")
+ if system(*%W(brakeman --skip-files lib/backup/repository.rb -w3 -z))
puts 'Security check succeed'
else
puts 'Security check failed'