BottleDisableReason: enforce the use of :disable

Closes Homebrew/homebrew#45337.

Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
This commit is contained in:
Baptiste Fontaine 2015-10-26 16:14:41 +01:00
parent eb576b3e0b
commit be1ac34117

View File

@ -58,7 +58,7 @@ end
# Used to annotate formulae that don't require compiling or cannot build bottle.
class BottleDisableReason
SUPPORTED_TYPES = [:unneeded, :disabled]
SUPPORTED_TYPES = [:unneeded, :disable]
def initialize(type, reason)
@type = type