aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/utils.rb
diff options
context:
space:
mode:
authorJack Nagel2014-02-13 23:14:30 -0500
committerJack Nagel2014-02-13 23:22:43 -0500
commitb5ec3918f6aa81662ff6641ed70e5492264f1c64 (patch)
tree1db95e858e67c073aec38888cdac7e15b19cc8b0 /Library/Homebrew/utils.rb
parent50449db20a427a6f4a9834c86cc69b69b2247b1c (diff)
downloadhomebrew-b5ec3918f6aa81662ff6641ed70e5492264f1c64.tar.bz2
Use a more accurate method name and drop unhelpful block
Diffstat (limited to 'Library/Homebrew/utils.rb')
-rw-r--r--Library/Homebrew/utils.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/utils.rb b/Library/Homebrew/utils.rb
index f0ff2f123..6d13d0583 100644
--- a/Library/Homebrew/utils.rb
+++ b/Library/Homebrew/utils.rb
@@ -322,7 +322,7 @@ module GitHub extend self
issues_matching(name, :state => "open")
end
- def find_pull_requests query
+ def print_pull_requests_matching(query)
return if ENV['HOMEBREW_NO_GITHUB_API']
puts "Searching pull requests..."
@@ -339,7 +339,7 @@ module GitHub extend self
return
end
- prs.each { |i| yield "#{i["title"]} (#{i["html_url"]})" }
+ prs.each { |i| puts "#{i["title"]} (#{i["html_url"]})" }
end
def private_repo?(user, repo)