Fix termination in case of empty unreleased section with --unreleased-only
option.
This commit is contained in:
parent
aeaec739f5
commit
b0be9f8b06
|
@ -332,7 +332,7 @@ module GitHubChangelogGenerator
|
|||
|
||||
if filtered_issues.empty? && filtered_pull_requests.empty? && newer_tag.nil?
|
||||
# do not generate empty unreleased section
|
||||
return nil
|
||||
return ''
|
||||
end
|
||||
|
||||
self.create_log(filtered_pull_requests, filtered_issues, newer_tag, older_tag_name)
|
||||
|
|
Loading…
Reference in New Issue
Block a user