From 84c88c7d09476f99f099d519dbccdaee10bace3c Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Wed, 17 Apr 2024 19:33:27 +0000 Subject: [PATCH] docs: updates from Homebrew/brew --- docs/RuboCop/Cop/Cask/ArrayAlphabetization.html | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/docs/RuboCop/Cop/Cask/ArrayAlphabetization.html b/docs/RuboCop/Cop/Cask/ArrayAlphabetization.html index 55aedb03e..899b69642 100644 --- a/docs/RuboCop/Cop/Cask/ArrayAlphabetization.html +++ b/docs/RuboCop/Cop/Cask/ArrayAlphabetization.html @@ -289,16 +289,16 @@
-60 61 62 63 64 65 -66+66 +67
# File 'rubocops/cask/array_alphabetization.rb', line 60 +# File 'rubocops/cask/array_alphabetization.rb', line 61 def recursively_find_comments(source, index, line) if source[index - 1].strip.start_with?("#") @@ -348,7 +348,8 @@+58 +5955 56 57 -58
# File 'rubocops/cask/array_alphabetization.rb', line 37 @@ -356,6 +357,7 @@def sort_array(source) # Combine each comment with the line(s) below so that they remain in the same relative location combined_source = source.each_with_index.filter_map do |line, index| + next if line.blank? next if line.strip.start_with?("#") next recursively_find_comments(source, index, line)