BottleDisableReason: enforce the use of :disable
Closes Homebrew/homebrew#45337. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
This commit is contained in:
parent
eb576b3e0b
commit
be1ac34117
@ -58,7 +58,7 @@ end
|
|||||||
|
|
||||||
# Used to annotate formulae that don't require compiling or cannot build bottle.
|
# Used to annotate formulae that don't require compiling or cannot build bottle.
|
||||||
class BottleDisableReason
|
class BottleDisableReason
|
||||||
SUPPORTED_TYPES = [:unneeded, :disabled]
|
SUPPORTED_TYPES = [:unneeded, :disable]
|
||||||
|
|
||||||
def initialize(type, reason)
|
def initialize(type, reason)
|
||||||
@type = type
|
@type = type
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user