lib/inspec/profile.rb in inspec-4.18.0 vs lib/inspec/profile.rb in inspec-4.18.24

- old
+ new

@@ -330,9 +330,10 @@ end # convert legacy os-* supports to their platform counterpart if res[:supports] && !res[:supports].empty? res[:supports].each do |support| + # TODO: deprecate support[:"platform-family"] = support.delete(:"os-family") if support.key?(:"os-family") support[:"platform-name"] = support.delete(:"os-name") if support.key?(:"os-name") end end