lib/percheron/logger.rb in percheron-0.7.16 vs lib/percheron/logger.rb in percheron-0.8.0

- old
+ new

@@ -4,10 +4,10 @@ logger_level = Logger::INFO logger_level = Logger::WARN if ENV['QUIET'] == 'true' # :nocov: -if ENV['DEBUG'] == 'true' || ENV['DOCKER_DEBUG'] == 'true' +if [ ENV['DEBUG'], ENV['DOCKER_DEBUG'] ].include?('true') logger_level = Logger::DEBUG Docker.logger = $logger if ENV['DOCKER_DEBUG'] == 'true' end # :nocov: