Commit 396aba5e authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

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
parents 6fdc51f8 0a47d8f3
desc 'Security check via brakeman' desc 'Security check via brakeman'
task :brakeman do 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' puts 'Security check succeed'
else else
puts 'Security check failed' puts 'Security check failed'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment