Unverified Commit 35b15af4 authored by Dawid Dziurla's avatar Dawid Dziurla Committed by GitHub
Browse files

Merge pull request #11650 from Homebrew/dawidd6-patch-1

components_order: allow ignore_missing_libraries in on_os
parents d3c7eb31 d50bd605
......@@ -110,7 +110,16 @@ module RuboCop
end
def check_on_os_block_content(component_precedence_list, on_os_block)
on_os_allowed_methods = %w[depends_on patch resource deprecate! disable! conflicts_with keg_only]
on_os_allowed_methods = %w[
depends_on
patch
resource
deprecate!
disable!
conflicts_with
keg_only
ignore_missing_libraries
]
_, offensive_node = check_order(component_precedence_list, on_os_block.body)
component_problem(*offensive_node) if offensive_node
child_nodes = on_os_block.body.begin_type? ? on_os_block.body.child_nodes : [on_os_block.body]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment