formula_installer: allow installing/upgrading disabled formulae
Signed-off-by: Patrick Linnane <patrick@linnane.io>
This commit is contained in:
parent
666601f401
commit
ba8d449073
@ -254,10 +254,14 @@ class FormulaInstaller
|
||||
when :deprecated
|
||||
opoo message
|
||||
when :disabled
|
||||
if force?
|
||||
opoo message
|
||||
else
|
||||
GitHub::Actions.puts_annotation_if_env_set(:error, message)
|
||||
raise CannotInstallFormulaError, message
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Tab.clear_cache
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user