rubocops/text: check openssl and openssl@1.1.

This commit is contained in:
Mike McQuaid 2020-04-11 14:20:49 +01:00
parent 3ded55aec2
commit fbeeae96ef
No known key found for this signature in database
GPG Key ID: 48A898132FD8EE70

View File

@ -12,7 +12,7 @@ module RuboCop
problem "Please set plist_options when using a formula-defined plist."
end
if depends_on?("openssl") && depends_on?("libressl")
if (depends_on?("openssl") || depends_on?("openssl@1.1")) && depends_on?("libressl")
problem "Formulae should not depend on both OpenSSL and LibreSSL (even optionally)."
end