diff options
author | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2015-05-11 12:11:03 +0300 |
---|---|---|
committer | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2015-05-11 12:11:03 +0300 |
commit | 0a47d8f3f418fe2e46c3bfe0f723ca0ff63e814c (patch) | |
tree | 4f5355b6f137fc66d988472f18012c53fd67c22c /lib/tasks/brakeman.rake | |
parent | 6fdc51f81d013a1e01c0742e81cdd0fa5476e2d6 (diff) |
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/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 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' |