Further improve brew doctor issue wiki text.

Following feedback from @mxcl on bcda0d.
This commit is contained in:
Mike McQuaid 2012-07-26 07:53:27 +01:00
parent 86b1b2878d
commit 8d949520ec

View File

@ -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