class RuboCop::Cop::Chef::Effortless::CookbookUsesSearch
Search is not compatible with the Effortless
Infra pattern
@example
### incorrect search(:node, 'run_list:recipe\[bacula\:\:server\]')
Constants
- MSG
- RESTRICT_ON_SEND
Public Instance Methods
Source
# File lib/rubocop/cop/chef/effortless/search_used.rb, line 33 def on_send(node) add_offense(node, severity: :refactor) end