Drop pointless string split

This commit is contained in:
Jack Nagel 2014-07-06 13:52:44 -05:00
parent 2d505754e7
commit dae83fc895

View File

@ -179,8 +179,7 @@ class BuildError < Homebrew::InstallationError
puts puts
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 '/' tap_issues_url = "https://github.com/#{f.tap}/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