Merge pull request #5126 from james-stocks/js/issue_5125

Log to stderr when using html2 reporter
This commit is contained in:
James Stocks 2020-06-30 14:59:46 +01:00 committed by GitHub
commit b8ca5240e8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -231,7 +231,7 @@ module Inspec
private
ALL_OF_OUR_REPORTERS = %w{json json-min json-rspec json-automate junit html yaml documentation progress}.freeze # BUT WHY?!?!
ALL_OF_OUR_REPORTERS = %w{json json-min json-rspec json-automate junit html html2 yaml documentation progress}.freeze # BUT WHY?!?!
def suppress_log_output?(opts)
return false if opts["reporter"].nil?