Sha256: f7ee2e56a18abb743ccd0e20886fb90f18c59b318a0c271e7b3b5accf709b371

Contents?: true

Size: 520 Bytes

Versions: 1

Compression:

Stored size: 520 Bytes

Contents

# frozen_string_literal: true

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

1 entries across 1 versions & 1 rubygems

Version Path
theme-check-0.8.2 lib/theme_check/bug.rb