提交 29beb790 编写于 作者: J Justin Collins

Add Brakeman::RescanReport#to_s

上级 a593ed85
......@@ -244,4 +244,12 @@ class Brakeman::RescanReport
def diff
@diff ||= @new_results.diff(@old_results)
end
def to_s
<<-OUTPUT
Total warnings: #{all_warnings.length}
Fixed warnings: #{fixed_warnings.length}
New warnings: #{new_warnings.length}
OUTPUT
end
end
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册