lib/rubocop/ast/node/if_node.rb in rubocop-ast-1.29.0 vs lib/rubocop/ast/node/if_node.rb in rubocop-ast-1.30.0
- old
+ new
@@ -79,10 +79,10 @@
# @return [Boolean] whether the `if` node is a modifier
def modifier_form?
(if? || unless?) && super
end
- # Chacks whether the `if` node has nested `if` nodes in any of its
+ # Checks whether the `if` node has nested `if` nodes in any of its
# branches.
#
# @note This performs a shallow search.
#
# @return [Boolean] whether the `if` node contains nested conditionals