TapFormulaUnavailableError: add back user and repo method
Fixes Homebrew/homebrew#41888.
This commit is contained in:
parent
140f8e3df7
commit
842c0227bc
@ -51,10 +51,12 @@ class FormulaUnavailableError < RuntimeError
|
||||
end
|
||||
|
||||
class TapFormulaUnavailableError < FormulaUnavailableError
|
||||
attr_reader :tap
|
||||
attr_reader :tap, :user, :repo
|
||||
|
||||
def initialize tap, name
|
||||
@tap = tap
|
||||
@user = tap.user
|
||||
@repo = tap.repo
|
||||
super "#{tap}/#{name}"
|
||||
end
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user