respect json config in inspec archive

Although I am not aware of this causing trouble anywhere right now, it
seems better to do it homogeneous.
This commit is contained in:
Stephan Renatus 2016-02-12 10:15:05 +01:00
parent 861965a124
commit 4c61ed3878

View file

@ -84,7 +84,7 @@ class Inspec::InspecCLI < Inspec::BaseCLI # rubocop:disable Metrics/ClassLength
def archive(path)
diagnose
o = options.dup
o = opts.dup
o[:logger] = Logger.new(STDOUT)
o[:logger].level = get_log_level(o.log_level)