lib/rubocop/cop/chef/modernize/macos_user_defaults.rb in cookstyle-5.7.0 vs lib/rubocop/cop/chef/modernize/macos_user_defaults.rb in cookstyle-5.8.1
- old
+ new
@@ -34,11 +34,9 @@
# global true
# value '2'
# end
#
class MacOsXUserdefaults < Cop
- include RuboCop::Chef::CookbookHelpers
-
MSG = 'The mac_os_x_userdefaults resource was renamed to macos_userdefaults when it was added to Chef Infra Client 14.0. The new resource name should be used.'.freeze
def on_send(node)
add_offense(node, location: :expression, message: MSG, severity: :refactor) if node.method_name == :mac_os_x_userdefaults
end