lib/rubocop/cop/chef/deprecation/user_supports_property.rb in cookstyle-5.23.0 vs lib/rubocop/cop/chef/deprecation/user_supports_property.rb in cookstyle-6.0.19
- old
+ new
@@ -45,10 +45,10 @@
MSG = "The supports property was removed in Chef Infra Client 13 in favor of individual 'manage_home' and 'non_unique' properties.".freeze
def on_block(node)
match_property_in_resource?(:user, 'supports', node) do |property|
- add_offense(property, location: :expression, message: MSG, severity: :refactor)
+ add_offense(property, location: :expression, message: MSG, severity: :warning)
end
end
def autocorrect(node)
lambda do |corrector|