lib/covered/source.rb in covered-0.13.1 vs lib/covered/source.rb in covered-0.14.0

- old
+ new

@@ -34,10 +34,10 @@ @annotations = {} begin @trace = TracePoint.new(:script_compiled) do |event| - if path = event.instruction_sequence&.path and source = event.eval_script + if path = event.instruction_sequence.path and source = event.eval_script @mutex.synchronize do @paths[path] = source end end end