Empty line after guard clause, gah

This commit is contained in:
Issy Long 2024-01-21 12:47:33 +00:00
parent 458844af44
commit d5f9eef1b5
No known key found for this signature in database
GPG Key ID: 8247C390DADC67D4

View File

@ -41,6 +41,7 @@ module RuboCop
# Combine each comment with the line(s) below so that they remain in the same relative location # 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| combined_source = source.each_with_index.map do |line, index|
next if line.strip.start_with?("#") next if line.strip.start_with?("#")
next recursively_find_comments(source, index, line) next recursively_find_comments(source, index, line)
end.compact end.compact