提交 927af46a 编写于 作者: J Justin

Merge pull request #131 from deepakinseattle/master

Fix --rake when output to file(s)

fixes #130
namespace :brakeman do
desc "Run Brakeman"
task :run, :output_file do |t, args|
task :run, :output_files do |t, args|
require 'brakeman'
Brakeman.run :app_path => ".", :output_file => args[:output_file], :print_report => true
files = args[:output_files].split(' ') if args[:output_files]
Brakeman.run :app_path => ".", :output_files => files, :print_report => true
end
end
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册