From 8d949520ecddf87ad521853bb3caf3152e5488cf Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Thu, 26 Jul 2012 07:53:27 +0100 Subject: [PATCH] Further improve brew doctor issue wiki text. Following feedback from @mxcl on bcda0d. --- Library/Homebrew/exceptions.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/exceptions.rb b/Library/Homebrew/exceptions.rb index 83035aafff..6ebc40e1cc 100644 --- a/Library/Homebrew/exceptions.rb +++ b/Library/Homebrew/exceptions.rb @@ -125,7 +125,7 @@ class BuildError < Homebrew::InstallationError onoe "#{e.to_s.strip} (#{formula_name}.rb:#{error_line})" issues = GitHub.issues_for_formula formula_name if issues.empty? - puts "If `brew doctor` does not, this may help you fix or report the issue:" + puts "This may help you fix or report the issue if `brew doctor` does not:" puts " #{Tty.em}#{issues_url}#{Tty.reset}" else puts "These existing issues may help you:", *issues.map{ |s| " #{Tty.em}#{s}#{Tty.reset}" } @@ -135,7 +135,7 @@ class BuildError < Homebrew::InstallationError if e.was_running_configure? puts "We saved the configure log:" puts " ~/Library/Logs/Homebrew/config.log" - puts "If you report the issue please paste the config.log here:" + puts "When you report the issue please paste the config.log here:" puts " #{Tty.em}http://gist.github.com/#{Tty.reset}" end end