提交 84875521 编写于 作者: J Justin Collins

Debug info when processing controller data flow

上级 3cbcfaea
......@@ -74,6 +74,8 @@ class Brakeman::ControllerAliasProcessor < Brakeman::AliasProcessor
def process_methdef exp
meth_name = exp.method_name
Brakeman.debug "Processing #{@current_class}##{meth_name}"
#Skip if instructed to only process a specific method
#(but don't skip if this method was called from elsewhere)
return exp if @current_method.nil? and @only_method and @only_method != meth_name
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册