aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorJack Nagel2014-07-06 13:52:44 -0500
committerJack Nagel2014-07-06 13:52:44 -0500
commitdae83fc89586938ca6bebcf22c1c38022bb91303 (patch)
tree28ca4ec69b6e00db418aed96bb66b493a70e2ffa /Library/Homebrew
parent2d505754e7a9cd6d56d806c8f8fa8e5773e31f2a (diff)
downloadbrew-dae83fc89586938ca6bebcf22c1c38022bb91303.tar.bz2
Drop pointless string split
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/exceptions.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/Library/Homebrew/exceptions.rb b/Library/Homebrew/exceptions.rb
index e68cb9b13..255ac1ddf 100644
--- a/Library/Homebrew/exceptions.rb
+++ b/Library/Homebrew/exceptions.rb
@@ -179,8 +179,7 @@ class BuildError < Homebrew::InstallationError
puts
puts "#{Tty.red}READ THIS#{Tty.reset}: #{Tty.em}#{ISSUES_URL}#{Tty.reset}"
if formula.tap?
- user, repo = formula.tap.split '/'
- tap_issues_url = "https://github.com/#{user}/#{repo}/issues"
+ tap_issues_url = "https://github.com/#{f.tap}/issues"
puts "If reporting this issue please do so at (not Homebrew/homebrew):"
puts " #{tap_issues_url}"
end