mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
Empty line after guard clause, gah
This commit is contained in:
parent
458844af44
commit
d5f9eef1b5
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user