提交 4824c03b 编写于 作者: J Justin

Merge pull request #163 from oreoshake/quick_fix_for_init_checker

Quick fix for flapping behavior on 1.8
......@@ -84,7 +84,7 @@ class Brakeman::Tracker
end
end
#Iterates over each template, yielding the name and the template.
#Iterates over each template, yielding the name and the template.
#Prioritizes templates which have been rendered.
def each_template
if @processed.nil?
......@@ -130,7 +130,7 @@ class Brakeman::Tracker
def check_initializers target, method
finder = Brakeman::FindCall.new target, method, self
initializers.each do |name, initializer|
initializers.sort.each do |name, initializer|
finder.process_source initializer
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册