Sha256: 6d8685c59acfc51bf75345cab2f2e8d1efdf3d25fba6c3a93906987fe7c1bd8c
Contents?: true
Size: 769 Bytes
Versions: 16
Compression:
Stored size: 769 Bytes
Contents
require "active_support" require "active_support/core_ext" require "yaml" require "cc/analyzer" require "cc/config" require "cc/engine_registry" require "cc/workspace" require "cc/cli/analyze" require "cc/cli/command" require "cc/cli/console" require "cc/cli/engines" require "cc/cli/help" require "cc/cli/output" require "cc/cli/prepare" require "cc/cli/runner" require "cc/cli/validate_config" require "cc/cli/version" module CC module CLI def self.debug? ENV["CODECLIMATE_DEBUG"] end def self.logger @logger ||= ::Logger.new(STDERR).tap do |logger| logger.level = if debug? ::Logger::DEBUG else ::Logger::ERROR end end end end Analyzer.logger = CLI.logger end
Version data entries
16 entries across 16 versions & 1 rubygems