Skip to content

Commit

Permalink
Fix the CI build
Browse files Browse the repository at this point in the history
  • Loading branch information
bbatsov committed Nov 1, 2022
1 parent 360f043 commit e423552
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/rubocop/cop/style/if_with_boolean_literal_branches.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ module Cop
module Style
# Checks for redundant `if` with boolean literal branches.
# It checks only conditions to return boolean value (`true` or `false`) for safe detection.
# The conditions to be checked are comparison methods, predicate methods, and double negation (!!).
# The conditions to be checked are comparison methods, predicate methods, and
# double negation (!!).
# `nonzero?` method is allowed by default.
# These are customizable with `AllowedMethods` option.
#
Expand Down

0 comments on commit e423552

Please sign in to comment.