Merge pull request #5562 from MikeMcQuaid/max-20-prs

utils/github: display max 20 closed PRs.
This commit is contained in:
Mike McQuaid 2019-01-19 18:37:45 +00:00 committed by GitHub
commit 60428d4dcb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"]})" }