lib/brakeman/processors/lib/find_call.rb in brakeman-1.5.0 vs lib/brakeman/processors/lib/find_call.rb in brakeman-1.5.1

- old
+ new

@@ -94,10 +94,10 @@ if match(@find_targets, target) and match(@find_methods, method) if @current_template @calls << Sexp.new(:result, @current_template, exp).line(exp.line) else - @calls << Sexp.new(:result, @current_class, @current_method, exp).line(exp.line) + @calls << Sexp.new(:result, @current_module, @current_class, @current_method, exp).line(exp.line) end end #Normally FindCall won't match a method invocation that is the target of