Exception: TapCoreRemoteMismatchError

Inherits:
TapRemoteMismatchError show all
Defined in:
exceptions.rb

Overview

Raised when the remote of Homebrew/core does not match HOMEBREW_CORE_GIT_REMOTE.

Instance Attribute Summary

Attributes inherited from TapRemoteMismatchError

#actual_remote, #expected_remote, #name

Instance Method Summary collapse

Methods inherited from TapRemoteMismatchError

#initialize

Constructor Details

This class inherits a constructor from TapRemoteMismatchError

Instance Method Details

#messageObject



340
341
342
343
344
345
346
# File 'exceptions.rb', line 340

def message
  <<~EOS
    Tap #{name} remote does mot match HOMEBREW_CORE_GIT_REMOTE.
    #{expected_remote} != #{actual_remote}
    Please set HOMEBREW_CORE_GIT_REMOTE="#{actual_remote}" and run `brew update` instead.
  EOS
end