Sha256: 00de5c2ee93336ca1783d409fb1c4775c79713e8e4780d88ad9cf064ef68de40

Contents?: true

Size: 384 Bytes

Versions: 3

Compression:

Stored size: 384 Bytes

Contents

module Spaceship
  class Globals
    # if spaceship is run with a FastlaneCore available respect the global state there
    # otherwise fallback to $verbose
    def self.verbose?
      if Object.const_defined?("FastlaneCore")
        return FastlaneCore::Globals.verbose? # rubocop:disable Require/MissingRequireStatement
      end
      return $verbose
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
fastlane_hotfix-2.165.1 spaceship/lib/spaceship/globals.rb
fastlane_hotfix-2.165.0 spaceship/lib/spaceship/globals.rb
fastlane_hotfix-2.187.0 spaceship/lib/spaceship/globals.rb