lib/contrast/extension/assess/regexp.rb in contrast-agent-3.15.0 vs lib/contrast/extension/assess/regexp.rb in contrast-agent-3.16.0
- old
+ new
@@ -69,12 +69,12 @@
logger.error('Unable to propagate during Regexp#=~', e)
end
def instrument_regexp_track
@_instrument_regexp_track ||= begin
- require 'cs__assess_regexp/cs__assess_regexp'
- true
- end
+ require 'cs__assess_regexp/cs__assess_regexp'
+ true
+ end
rescue StandardError, LoadError => e
logger.error('Error loading regexp track patch', e)
false
end
end