From dae83fc89586938ca6bebcf22c1c38022bb91303 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sun, 6 Jul 2014 13:52:44 -0500 Subject: [PATCH] Drop pointless string split --- Library/Homebrew/exceptions.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Library/Homebrew/exceptions.rb b/Library/Homebrew/exceptions.rb index e68cb9b131..255ac1ddf2 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