Merge pull request #14020 from samford/allow-livecheck-block-in-on_system-blocks

Allow livecheck method in on_system blocks
This commit is contained in:
Mike McQuaid 2022-10-19 11:20:09 +01:00 committed by GitHub
commit c6b7836368
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -120,14 +120,15 @@ module RuboCop
end
end
on_system_allowed_methods = %w[
depends_on
patch
resource
deprecate!
livecheck
keg_only
disable!
deprecate!
depends_on
conflicts_with
fails_with
keg_only
resource
patch
ignore_missing_libraries
]
on_system_allowed_methods += on_system_methods.map(&:to_s)