Skip to content

Commit

Permalink
Merge pull request presidentbeef#163 from oreoshake/quick_fix_for_ini…
Browse files Browse the repository at this point in the history
…t_checker

Quick fix for flapping behavior on 1.8
  • Loading branch information
presidentbeef committed Oct 9, 2012
2 parents 54a1b0a + 37fe266 commit 4824c03
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/brakeman/tracker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def each_method
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?
Expand Down Expand Up @@ -130,7 +130,7 @@ def find_call options
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

Expand Down

0 comments on commit 4824c03

Please sign in to comment.