Log to stderr when using html2 reporter

Fixes #5125

Signed-off-by: James Stocks <jstocks@chef.io>
This commit is contained in:
James Stocks 2020-06-30 13:56:33 +01:00
parent 88cdff8422
commit d0f00cd716

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?