Merge pull request #11622 from MikeMcQuaid/deprecate_bottle_disable_comment

formula_support: deprecate `bottle :unneeded`/`:disabled` in 3.3.0
This commit is contained in:
Mike McQuaid 2021-06-30 19:48:53 +01:00 committed by GitHub
commit 0a503cb62b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -69,6 +69,9 @@ class BottleDisableReason
def initialize(type, reason)
@type = type
@reason = reason
# TODO: 3.3.0 should deprecate this behaviour as it was only needed for
# Homebrew/core (where we don't want unneeded or disabled bottles any more)
# odeprecated "bottle :#{@type}" if valid?
end
def unneeded?