Don't receive issues in case of --no-isses flag specied
This commit is contained in:
parent
aed5c37559
commit
09f5ac5d37
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user