From ec5ce4b1800cccae72e6d211e8636c0b3e046edb Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sat, 19 Jan 2019 17:17:21 +0000 Subject: [PATCH] utils/github: display max 20 closed PRs. Closes #5553. --- Library/Homebrew/utils/github.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/utils/github.rb b/Library/Homebrew/utils/github.rb index fe10623b40..0446569797 100644 --- a/Library/Homebrew/utils/github.rb +++ b/Library/Homebrew/utils/github.rb @@ -279,7 +279,7 @@ module GitHub open_prs else puts "Closed pull requests:" unless open_or_closed_prs.empty? - open_or_closed_prs + open_or_closed_prs.take(20) end prs.each { |i| puts "#{i["title"]} (#{i["html_url"]})" }