Sha256: def705803ef760546dab453062b230ab7d04eefaecd73493ce7d040e2828953f

Contents?: true

Size: 550 Bytes

Versions: 7

Compression:

Stored size: 550 Bytes

Contents

# frozen_string_literal: true
require 'theme_check/version'

module ThemeCheck
  BUG_POSTAMBLE = <<~EOS
    Theme Check Version: #{VERSION}
    Ruby Version: #{RUBY_VERSION}
    Platform: #{RUBY_PLATFORM}
    Muffin mode: activated

    ------------------------
    Whoops! It looks like you found a bug in Theme Check.
    Please report it at https://github.com/Shopify/theme-check/issues, and include the message above.
    Or cross your fingers real hard, and try again.
  EOS

  def self.bug(message)
    abort(message + BUG_POSTAMBLE)
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
theme-check-1.0.0 lib/theme_check/bug.rb
theme-check-0.10.2 lib/theme_check/bug.rb
theme-check-0.10.1 lib/theme_check/bug.rb
theme-check-0.10.0 lib/theme_check/bug.rb
theme-check-0.9.1 lib/theme_check/bug.rb
theme-check-0.9.0 lib/theme_check/bug.rb
theme-check-0.8.3 lib/theme_check/bug.rb