From a7b515e503fecd4ceb4f09fce790046be54aba6e Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Thu, 13 Feb 2014 23:14:30 -0500 Subject: Use a more accurate method name and drop unhelpful block --- Library/Homebrew/cmd/search.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Homebrew/cmd') 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 -- cgit v1.2.3