This commit is contained in:
Petr Korolev 2014-12-12 16:55:26 +02:00
parent fcd78e6bc4
commit 4ea1058cd5

View File

@ -67,7 +67,7 @@ module GitHubChangelogGenerator
end end
if @options[:verbose] if @options[:verbose]
puts "Received all closed pull requests: #{pull_requests.count}" puts "Received closed pull requests: #{pull_requests.count}"
end end
unless @options[:pull_request_labels].nil? unless @options[:pull_request_labels].nil?
@ -341,6 +341,10 @@ module GitHubChangelogGenerator
def get_all_issues def get_all_issues
if @options[:verbose]
puts 'Fetching closed issues..'
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
issues = [] issues = []