提交 11360bcd 编写于 作者: J Justin Collins

default html = false for Report#generate_model_warnings

上级 066474b6
......@@ -159,7 +159,7 @@ class Brakeman::Report
end
#Generate table of model warnings or return nil if no warnings
def generate_model_warnings html
def generate_model_warnings html = false
unless checks.model_warnings.empty?
table = Ruport::Data::Table(["Confidence", "Model", "Warning Type", "Message"])
checks.model_warnings.each do |warning|
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册