lib/cli_coverage.rb in imap-backup-12.1.0 vs lib/cli_coverage.rb in imap-backup-13.0.0

- old
+ new

@@ -1,12 +1,12 @@ class CliCoverage def self.conditionally_activate - return if !ENV["COVERAGE"] + return if !ENV.key?("COVERAGE") require "simplecov" # Collect coverage separately - SimpleCov.command_name "#{ENV['COVERAGE']} #{ARGV.join(' ')} coverage" + SimpleCov.command_name "#{ENV.fetch('COVERAGE')} #{ARGV.join(' ')} coverage" # Silence output SimpleCov.formatter = SimpleCov::Formatter::SimpleFormatter SimpleCov.print_error_status = false