Skip to content

Commit

Permalink
Report module in Brakeman::FindCall results
Browse files Browse the repository at this point in the history
but please don't ever use Brakeman::FindCall if it can
be avoided
  • Loading branch information
presidentbeef committed Mar 5, 2012
1 parent b701fea commit adcd3d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/brakeman/processors/lib/find_call.rb
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def process_call exp
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
Expand Down

0 comments on commit adcd3d1

Please sign in to comment.