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,8 +254,12 @@ class FormulaInstaller
|
|||||||
when :deprecated
|
when :deprecated
|
||||||
opoo message
|
opoo message
|
||||||
when :disabled
|
when :disabled
|
||||||
GitHub::Actions.puts_annotation_if_env_set(:error, message)
|
if force?
|
||||||
raise CannotInstallFormulaError, message
|
opoo message
|
||||||
|
else
|
||||||
|
GitHub::Actions.puts_annotation_if_env_set(:error, message)
|
||||||
|
raise CannotInstallFormulaError, message
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user