lib/contrast/agent/assess/policy/trigger/xpath.rb in contrast-agent-3.14.0 vs lib/contrast/agent/assess/policy/trigger/xpath.rb in contrast-agent-3.15.0

- old
+ new

@@ -37,10 +37,10 @@ private def process context, trigger_node, object, ret, *args args.each do |arg| next unless arg.cs__is_a?(String) || arg.cs__is_a?(Symbol) - next unless arg.cs__tracked? + next unless Contrast::Agent::Assess::Tracker.tracked?(arg) next unless trigger_node.violated?(arg) Contrast::Agent::Assess::Policy::TriggerMethod.build_finding( context, trigger_node, arg, object, ret, args) end