From 884b26850615d5624e09762e1ae8bc5b104a934a Mon Sep 17 00:00:00 2001 From: Markus Reiter Date: Sat, 17 Sep 2016 03:21:51 +0200 Subject: Use Formatter for all URLs. --- Library/Homebrew/exceptions.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Library/Homebrew/exceptions.rb') diff --git a/Library/Homebrew/exceptions.rb b/Library/Homebrew/exceptions.rb index 601bde528..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 Formatter.error("READ THIS: #{Formatter.url(OS::ISSUES_URL)}") + 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 -- cgit v1.2.3