Currently, for all casks with a livecheck do block (that are not in the main Cask repository), the latest version cannot be detected, even though it is present in brew info.
(Note that font-sauce-code-pro-nerd-font.rb has a livecheck do block, while font-meslo-for-powerlevel10k.rb does not, even though they are both in Cask Fonts.)
Currently, the load_cask function (basically just CaskLoader.load) throws the following CaskUnavailableError error when facing such casks:
Cask 'font-sauce-code-pro-nerd-font' is unreadable: uninitialized constant Livecheck::Formula
Currently, for all casks with a
livecheck do
block (that are not in the main Cask repository), the latest version cannot be detected, even though it is present inbrew info
. (Note thatfont-sauce-code-pro-nerd-font.rb
has alivecheck do
block, whilefont-meslo-for-powerlevel10k.rb
does not, even though they are both in Cask Fonts.)Currently, the
load_cask
function (basically justCaskLoader.load
) throws the followingCaskUnavailableError
error when facing such casks:Adding a requires clause fixes this issue.