From 4ea1058cd565eead75b75c3cc9de82bc1903f236 Mon Sep 17 00:00:00 2001 From: Petr Korolev Date: Fri, 12 Dec 2014 16:55:26 +0200 Subject: [PATCH] fix #33 --- lib/github_changelog_generator.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/github_changelog_generator.rb b/lib/github_changelog_generator.rb index 9bccf74..deca207 100755 --- a/lib/github_changelog_generator.rb +++ b/lib/github_changelog_generator.rb @@ -67,7 +67,7 @@ module GitHubChangelogGenerator end if @options[:verbose] - puts "Received all closed pull requests: #{pull_requests.count}" + puts "Received closed pull requests: #{pull_requests.count}" end unless @options[:pull_request_labels].nil? @@ -341,6 +341,10 @@ module GitHubChangelogGenerator 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 issues = []