Skip to content

Commit 9faa9b0

Browse files
authored
Merge pull request #20886 from Homebrew/on_system_pour_bottle
rubocops/components_order: allow pour_bottle? in on_system blocks
2 parents c76f378 + 1a5f87d commit 9faa9b0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Library/Homebrew/rubocops/components_order.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ def check_on_system_block_content(component_precedence_list, on_system_block)
145145
fails_with
146146
resource
147147
patch
148+
pour_bottle?
148149
]
149150
on_system_allowed_methods += on_system_methods.map(&:to_s)
150151
_, offensive_node = check_order(component_precedence_list, on_system_block.body)

0 commit comments

Comments
 (0)