.simplecov in newrelic_rpm-8.10.1 vs .simplecov in newrelic_rpm-8.11.0

- old
+ new

@@ -1,13 +1,15 @@ # frozen_string_literal: true require 'securerandom' -random = SecureRandom.uuid -SimpleCov.command_name(random) -SimpleCov.coverage_dir("coverage_#{random}") +if ENV['CI'] + random = SecureRandom.uuid + SimpleCov.command_name(random) + SimpleCov.coverage_dir("coverage_#{random}") +end SimpleCov.start do enable_coverage(:branch) SimpleCov.root(File.join(File.dirname(__FILE__), '/lib')) track_files("**/*.rb") - formatter(SimpleCov::Formatter::SimpleFormatter) + formatter(SimpleCov::Formatter::SimpleFormatter) if ENV['CI'] end