lib/brakeman/checks/check_render_inline.rb in brakeman-3.3.2 vs lib/brakeman/checks/check_render_inline.rb in brakeman-3.3.3

- old
+ new

@@ -10,11 +10,10 @@ check_render result end end def check_render result - return if duplicate? result - add_result result + return unless original? result call = result[:call] if node_type? call, :render and (call.render_type == :text or call.render_type == :inline)