Don't show untagged PRs

As far as I can tell, `add_pr_wo_labels` wasn't actually
implemented. Implementing this per the documentation.

Signed-off-by: Tom Duffield <tom@chef.io>
This commit is contained in:
Tom Duffield 2016-11-19 23:54:56 -06:00 committed by Hunter Haugen
parent 174baec266
commit b91609283e
No known key found for this signature in database
GPG Key ID: EF99694AA599DDAD

View File

@ -81,7 +81,7 @@ module GitHubChangelogGenerator
log += issues_to_log(issues, pull_requests)
end
if options[:pulls]
if options[:pulls] && options[:add_pr_wo_labels]
# Generate pull requests:
log += generate_sub_section(pull_requests, options[:merge_prefix])
end