aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/exceptions.rb
diff options
context:
space:
mode:
authorMike McQuaid2014-01-20 17:46:33 -0800
committerMike McQuaid2014-01-20 17:58:50 -0800
commit6e5afe9705fe3ea01ff75d4913aa9147a5bd0ecf (patch)
treeb92bb082d8b952a0b1c2b408e9d0d0573a304dee /Library/Homebrew/exceptions.rb
parentc976f34edbc25f5a4e9b1283cff5cb9725c17bb6 (diff)
downloadhomebrew-6e5afe9705fe3ea01ff75d4913aa9147a5bd0ecf.tar.bz2
utils: improve issue searching.
* issues_matching now returns an array * prints issues titles and URLs * find_pull_requests shows closed PRs if no matching PRs are open Closes #26032.
Diffstat (limited to 'Library/Homebrew/exceptions.rb')
-rw-r--r--Library/Homebrew/exceptions.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/exceptions.rb b/Library/Homebrew/exceptions.rb
index 69bf94e2e..febff797a 100644
--- a/Library/Homebrew/exceptions.rb
+++ b/Library/Homebrew/exceptions.rb
@@ -211,7 +211,7 @@ class BuildError < Homebrew::InstallationError
puts
unless RUBY_VERSION < "1.8.6" || issues.empty?
puts "These open issues may also help:"
- puts issues.map{ |s| " #{s}" }.join("\n")
+ puts issues.map{ |i| "#{i['title']} (#{i['html_url']})" }.join("\n")
end
end
end