aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/exceptions.rb
diff options
context:
space:
mode:
authorJack Nagel2014-07-06 13:52:44 -0500
committerJack Nagel2014-07-06 13:52:44 -0500
commit9bf88ad74f9853455458252f6fd203b5696d6032 (patch)
tree8d26aebd38fd27d9222807ca871b9f16b7c0634d /Library/Homebrew/exceptions.rb
parent286c857d520cdcf0c6abef2b220e18a71edc9804 (diff)
downloadhomebrew-9bf88ad74f9853455458252f6fd203b5696d6032.tar.bz2
Drop pointless string split
Diffstat (limited to 'Library/Homebrew/exceptions.rb')
-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