提交 18022b7b 编写于 作者: J Justin Collins

[CSC] Fix CheckRender node_type check

上级 1b47cffb
......@@ -13,7 +13,7 @@ class Brakeman::CheckRender < Brakeman::BaseCheck
end
def process_render result
return unless node_type? result, :render
return unless node_type? result[:call], :render
case result[:call].render_type
when :partial, :template, :action, :file
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册