提交 adcd3d1b 编写于 作者: J Justin

Report module in Brakeman::FindCall results

but please don't ever use Brakeman::FindCall if it can
be avoided
上级 b701fea1
......@@ -96,7 +96,7 @@ class Brakeman::FindCall < Brakeman::BaseProcessor
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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册