diff options
| author | Markus Reiter | 2016-10-02 05:36:50 +0200 |
|---|---|---|
| committer | GitHub | 2016-10-02 05:36:50 +0200 |
| commit | 8b06a01e5b94fec9876a4fdfea1177496a0b7c93 (patch) | |
| tree | 90ed60f4960de7642276534e568419f7d61d7c86 /Library/Homebrew/exceptions.rb | |
| parent | fa14c262454c2678ca9c8a1caa2f0080833ac67a (diff) | |
| parent | 1eab17235ca80c86850d1079ccb255b076d4b557 (diff) | |
| download | brew-8b06a01e5b94fec9876a4fdfea1177496a0b7c93.tar.bz2 | |
Merge pull request #823 from reitermarkus/refactoring-tty
Refactor Tty.
Diffstat (limited to 'Library/Homebrew/exceptions.rb')
| -rw-r--r-- | Library/Homebrew/exceptions.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/exceptions.rb b/Library/Homebrew/exceptions.rb index 07658c6e7..e01a60c75 100644 --- a/Library/Homebrew/exceptions.rb +++ b/Library/Homebrew/exceptions.rb @@ -318,7 +318,7 @@ class BuildError < RuntimeError def dump if !ARGV.verbose? puts - puts "#{Tty.red}READ THIS#{Tty.reset}: #{Tty.em}#{OS::ISSUES_URL}#{Tty.reset}" + puts Formatter.error(Formatter.url(OS::ISSUES_URL), label: "READ THIS") if formula.tap case formula.tap.name when "homebrew/boneyard" @@ -327,7 +327,7 @@ class BuildError < RuntimeError else if issues_url = formula.tap.issues_url puts "If reporting this issue please do so at (not Homebrew/brew):" - puts " #{issues_url}" + puts " #{Formatter.url(issues_url)}" end end end |
