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 @all_tags = self.get_all_tags
@pull_requests = self.get_all_closed_pull_requests @pull_requests = self.get_all_closed_pull_requests
if @options[:issues]
@issues = self.get_all_issues @issues = self.get_all_issues
else
@issues = []
end
@tag_times_hash = {} @tag_times_hash = {}
end end