lib/brakeman/checks/check_verb_confusion.rb in brakeman-min-5.0.1 vs lib/brakeman/checks/check_verb_confusion.rb in brakeman-min-5.0.2
- old
+ new
@@ -30,10 +30,10 @@
if method.nil?
Brakeman.debug "No method found: #{result[:location][:method]}"
return
end
- process method[:src]
+ process method.src
end
def process_if exp
if exp.condition == @matched_call
# Found `if request.get?`