Skip to content

Commit

Permalink
Merge pull request #126 from chef/1.9.1
Browse files Browse the repository at this point in the history
Update RuboCop to 1.9.1
  • Loading branch information
tas50 committed Feb 1, 2021
2 parents 791ff6f + 8314301 commit 3a0d00b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions config/upstream.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.'
Expand Down
2 changes: 1 addition & 1 deletion lib/chefstyle/version.rb
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 3a0d00b

Please sign in to comment.