diff --git a/config/upstream.yml b/config/upstream.yml index 5cf6a0f..10bfa5e 100644 --- a/config/upstream.yml +++ b/config/upstream.yml @@ -3521,6 +3521,9 @@ Style/IfWithBooleanLiteralBranches: Description: 'Checks for redundant `if` with boolean literal branches.' Enabled: pending VersionAdded: '1.9' + SafeAutoCorrect: false + AllowedMethods: + - nonzero? Style/IfWithSemicolon: Description: 'Do not use if x; .... Use the ternary operator instead.' diff --git a/lib/chefstyle/version.rb b/lib/chefstyle/version.rb index bff4a80..ad77920 100644 --- a/lib/chefstyle/version.rb +++ b/lib/chefstyle/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Chefstyle VERSION = "1.6.1" - RUBOCOP_VERSION = "1.9.0" + RUBOCOP_VERSION = "1.9.1" end