lib/deploy_rubygem/inspec.rb in deploy_rubygem-0.60.17 vs lib/deploy_rubygem/inspec.rb in deploy_rubygem-0.60.18

- old
+ new

@@ -48,14 +48,14 @@ system("inspec vendor compliance/profiles/#{inspec_name}") end def save_as_html(html_file) check - system("inspec exec compliance/profiles/#{inspec_name} #{cmd_opt.join(' ')} --reporter html:#{html_file}") + system("inspec exec compliance/profiles/#{inspec_name} #{inspec_options.join(' ')} --reporter html:#{html_file}") end def as_json check - `inspec exec compliance/profiles/#{inspec_name} #{cmd_opt.join(' ')} --reporter json")` + `inspec exec compliance/profiles/#{inspec_name} #{inspec_options.join(' ')} --reporter json")` end end end