This commit is contained in:
Petr Korolev 2014-12-15 15:34:20 +02:00
parent 950e8916d9
commit 433d46d85b

View File

@ -356,7 +356,7 @@ module GitHubChangelogGenerator
def get_all_issues def get_all_issues
if @options[:verbose] if @options[:verbose]
puts "Fetching closed issues...\r" print "Fetching closed issues...\r"
end end
response = @github.issues.list user: @options[:user], repo: @options[:project], state: 'closed', filter: 'all', labels: nil response = @github.issues.list user: @options[:user], repo: @options[:project], state: 'closed', filter: 'all', labels: nil
@ -366,7 +366,6 @@ module GitHubChangelogGenerator
response.each_page do |page| response.each_page do |page|
print "Fetching closed issues... #{page_i}\r" print "Fetching closed issues... #{page_i}\r"
page_i += PER_PAGE_NUMBER page_i += PER_PAGE_NUMBER
pull_requests.concat(page)
issues.concat(page) issues.concat(page)
end end