diff options
| author | Xu Cheng | 2015-07-19 16:42:40 +0800 |
|---|---|---|
| committer | Xu Cheng | 2015-07-19 16:42:40 +0800 |
| commit | 842c0227bc7f69211a1feaa6f34c8a85c925c139 (patch) | |
| tree | 5695cad1b3abdfd7f7f0b5c61a8e6077edc3715a /Library | |
| parent | 140f8e3df780cee9d69c7d314d62ca0abe4a42de (diff) | |
| download | brew-842c0227bc7f69211a1feaa6f34c8a85c925c139.tar.bz2 | |
TapFormulaUnavailableError: add back user and repo method
Fixes Homebrew/homebrew#41888.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/exceptions.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Homebrew/exceptions.rb b/Library/Homebrew/exceptions.rb index 5b3081767..8e1b722a2 100644 --- a/Library/Homebrew/exceptions.rb +++ b/Library/Homebrew/exceptions.rb @@ -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 |
