lib/rubocop/cop/chef/deprecation/chef_handler_recipe.rb in cookstyle-7.11.1 vs lib/rubocop/cop/chef/deprecation/chef_handler_recipe.rb in cookstyle-7.11.3
- old
+ new
@@ -18,11 +18,11 @@
module RuboCop
module Cop
module Chef
module Deprecations
- # There is no need to include the empty and deprecated chef_handler::default recipe in order to use the chef_handler resource
+ # There is no need to include the empty and deprecated chef_handler::default recipe to use the chef_handler resource
#
# @example
#
# #### incorrect
# include_recipe 'chef_handler'
@@ -30,10 +30,10 @@
#
class ChefHandlerRecipe < Base
include RangeHelp
extend AutoCorrector
- MSG = 'There is no need to include the empty and deprecated chef_handler::default recipe in order to use the chef_handler resource'
+ MSG = 'There is no need to include the empty and deprecated chef_handler::default recipe to use the chef_handler resource'
RESTRICT_ON_SEND = [:include_recipe].freeze
def_node_matcher :chef_handler_recipe?, <<-PATTERN
(send nil? :include_recipe (str {"chef_handler" "chef_handler::default"}))
PATTERN