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
|
||||
@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
|
||||
|
|
Loading…
Reference in New Issue
Block a user