lib/contrast/agent/assess/policy/propagator/select.rb in contrast-agent-4.2.0 vs lib/contrast/agent/assess/policy/propagator/select.rb in contrast-agent-4.3.0

- old
+ new

@@ -12,13 +12,10 @@ # in a 'get it work' state. hopefully, we'll be in # a 'get it right' state soon. class Select class << self def select_tagger patcher, preshift, ret, _block - properties = Contrast::Agent::Assess::Tracker.properties(ret) - return unless properties - source = preshift.object args = preshift.args # 'gotcha' # Additionally, an empty string is returned when the starting index for @@ -29,10 +26,12 @@ Contrast::Agent::Assess::Tracker.tracked?(source) return end - source_properties = Contrast::Agent::Assess::Tracker.properties(source) + return unless (source_properties = Contrast::Agent::Assess::Tracker.properties(source)) + return unless (properties = Contrast::Agent::Assess::Tracker.properties!(ret)) + properties.build_event( patcher, ret, source, ret,