Don't receive issues in case of --no-isses flag specied

This commit is contained in:
Petr Korolev 2014-11-19 12:42:23 +02:00
parent aed5c37559
commit 09f5ac5d37

View File

@ -25,7 +25,11 @@ module GitHubChangelogGenerator
@all_tags = self.get_all_tags
@pull_requests = self.get_all_closed_pull_requests
@issues = self.get_all_issues
if @options[:issues]
@issues = self.get_all_issues
else
@issues = []
end
@tag_times_hash = {}
end