lib/contrast/agent/tracepoint_hook.rb in contrast-agent-4.6.0 vs lib/contrast/agent/tracepoint_hook.rb in contrast-agent-4.7.0

- old
+ new

@@ -35,10 +35,10 @@ path = tracepoint_event.path return if path&.include?('contrast') Contrast::Agent::Inventory::DependencyUsageAnalysis.instance.associate_file(path) if path Contrast::Agent::Patching::Policy::Patcher.patch_specific_module(loaded_module) - Contrast::Agent::Assess::Policy::RewriterPatch.rewrite_interpolation(loaded_module) + Contrast::Agent::Assess::Policy::RewriterPatch.rewrite_interpolation(loaded_module) if RUBY_VERSION < '2.6.0' # TODO: RUBY-714 remove guard w/ EOL of 2.5 Contrast::Agent::Assess::Policy::PolicyScanner.scan(tracepoint_event) end end end end