diff options
| author | Mike McQuaid | 2014-01-20 17:46:33 -0800 | 
|---|---|---|
| committer | Mike McQuaid | 2014-01-20 17:58:50 -0800 | 
| commit | 6e5afe9705fe3ea01ff75d4913aa9147a5bd0ecf (patch) | |
| tree | b92bb082d8b952a0b1c2b408e9d0d0573a304dee /Library/Homebrew/exceptions.rb | |
| parent | c976f34edbc25f5a4e9b1283cff5cb9725c17bb6 (diff) | |
| download | homebrew-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.rb | 2 | 
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 | 
