提交 e69f18c7 编写于 作者: J Justin Collins

-k should not show "Brakeman::"

上级 b2eb4a25
......@@ -142,7 +142,7 @@ module Brakeman
require 'brakeman/scanner'
$stderr.puts "Available Checks:"
$stderr.puts "-" * 30
$stderr.puts Checks.checks.map { |c| c.to_s }.sort.join "\n"
$stderr.puts Checks.checks.map { |c| c.to_s.match(/^Brakeman::(.*)$/)[1] }.sort.join "\n"
end
def self.dump_config options
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册