aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/search.rb
diff options
context:
space:
mode:
authorJack Nagel2014-02-13 23:14:30 -0500
committerJack Nagel2014-02-13 23:22:43 -0500
commita7b515e503fecd4ceb4f09fce790046be54aba6e (patch)
tree1202bae686abcc3cacf6801d8cbffac89110e36e /Library/Homebrew/cmd/search.rb
parentfed468c78010b3a4b96d1044def6928f293008a1 (diff)
downloadbrew-a7b515e503fecd4ceb4f09fce790046be54aba6e.tar.bz2
Use a more accurate method name and drop unhelpful block
Diffstat (limited to 'Library/Homebrew/cmd/search.rb')
-rw-r--r--Library/Homebrew/cmd/search.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/search.rb b/Library/Homebrew/cmd/search.rb
index 52a13516b..96bc14db3 100644
--- a/Library/Homebrew/cmd/search.rb
+++ b/Library/Homebrew/cmd/search.rb
@@ -62,7 +62,7 @@ module Homebrew extend self
if count == 0 and not blacklisted? query
puts "No formula found for #{query.inspect}."
begin
- GitHub.find_pull_requests(query) { |pull| puts pull }
+ GitHub.print_pull_requests_matching(query)
rescue GitHub::Error => e
opoo e.message
end