lib/rubocop/cop/chef/style/negating_only_if.rb in cookstyle-7.32.2 vs lib/rubocop/cop/chef/style/negating_only_if.rb in cookstyle-7.32.7
- old
+ new
@@ -21,15 +21,15 @@
module Style
# Instead of using only_if conditionals with ! to negate the returned value, use not_if which is easier to read
#
# @example
#
- # #### incorrect
+ # ### incorrect
# package 'legacy-sysv-deps' do
# only_if { !systemd }
# end
#
- # #### correct
+ # ### correct
# package 'legacy-sysv-deps' do
# not_if { systemd }
# end
#
class NegatingOnlyIf < Base