lib/contrast/agent/assess/policy/propagator/splat.rb in contrast-agent-6.1.0 vs lib/contrast/agent/assess/policy/propagator/splat.rb in contrast-agent-6.1.1

- old
+ new

@@ -49,10 +49,10 @@ # @param arg [Object] an input to the method which act as sources for this propagation. def find_argument_inputs tracked_inputs, arg if arg.is_a?(String) || arg.is_a?(File) tracked_inputs << arg if tracked_value?(arg) else - iterable_arg tracked_inputs, arg + iterable_arg(tracked_inputs, arg) end end def iterable_arg tracked_inputs, arg if Contrast::Utils::DuckUtils.iterable_hash?(arg)