mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-20 10:06:04 +10:00
Merge branch 'brakeman-system' into 'master'
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 . See merge request !1819
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user