lib/rubocop/cop/metrics/block_nesting.rb in rubocop-0.58.2 vs lib/rubocop/cop/metrics/block_nesting.rb in rubocop-0.59.0

- old
+ new

@@ -19,9 +19,10 @@ until until_post for resbody ].freeze def investigate(processed_source) return if processed_source.blank? + max = cop_config['Max'] check_nesting_level(processed_source.ast, max, 0) end private