lib/rubocop/cop/metrics/block_nesting.rb in rubocop-1.48.1 vs lib/rubocop/cop/metrics/block_nesting.rb in rubocop-1.49.0

- old
+ new

@@ -42,10 +42,10 @@ end def consider_node?(node) return true if NESTING_BLOCKS.include?(node.type) - count_blocks? && node.block_type? + count_blocks? && (node.block_type? || node.numblock_type?) end def message(max) "Avoid more than #{max} levels of block nesting." end