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

Add Tracker#filtered_warnings

上级 4b8faa14
......@@ -156,6 +156,16 @@ class Brakeman::Tracker
self.checks.all_warnings
end
def filtered_warnings
if self.ignored_filter
self.warnings.reject do |w|
self.ignored_filter.ignored? w
end
else
self.warnings
end
end
def index_call_sites
finder = Brakeman::FindAllCalls.new self
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册