From d5f9eef1b546acfb2b81f9cfc6e98bc5b4ae6ce8 Mon Sep 17 00:00:00 2001 From: Issy Long Date: Sun, 21 Jan 2024 12:47:33 +0000 Subject: [PATCH] Empty line after guard clause, gah --- Library/Homebrew/rubocops/cask/array_alphabetization.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/Library/Homebrew/rubocops/cask/array_alphabetization.rb b/Library/Homebrew/rubocops/cask/array_alphabetization.rb index 49734bcc08..de52dddb9c 100644 --- a/Library/Homebrew/rubocops/cask/array_alphabetization.rb +++ b/Library/Homebrew/rubocops/cask/array_alphabetization.rb @@ -41,6 +41,7 @@ module RuboCop # Combine each comment with the line(s) below so that they remain in the same relative location combined_source = source.each_with_index.map do |line, index| next if line.strip.start_with?("#") + next recursively_find_comments(source, index, line) end.compact