exceptions: fix tap issue URL.

Closes Homebrew/homebrew#29043.
This commit is contained in:
Mike McQuaid 2014-05-08 11:43:11 +01:00
parent 21c2bf40f7
commit 54fc1946f9

View File

@ -185,7 +185,7 @@ class BuildError < Homebrew::InstallationError
puts "#{Tty.red}READ THIS#{Tty.reset}: #{Tty.em}#{ISSUES_URL}#{Tty.reset}" puts "#{Tty.red}READ THIS#{Tty.reset}: #{Tty.em}#{ISSUES_URL}#{Tty.reset}"
if formula.tap? if formula.tap?
user, repo = formula.tap.split '/' user, repo = formula.tap.split '/'
tap_issues_url = "https://github.com/#{user}/homebrew-#{repo}/issues" tap_issues_url = "https://github.com/#{user}/#{repo}/issues"
puts "If reporting this issue please do so at (not Homebrew/homebrew):" puts "If reporting this issue please do so at (not Homebrew/homebrew):"
puts " #{tap_issues_url}" puts " #{tap_issues_url}"
end end