Don't suggest adding appcast if livecheck exists.

This commit is contained in:
Markus Reiter 2020-12-18 18:15:50 +01:00 committed by Sam Ford
parent 3723cd7dec
commit 8fa5a8e832
No known key found for this signature in database
GPG Key ID: 95209E46C7FFDEFE

View File

@ -298,7 +298,7 @@ module Cask
end
def check_hosting_with_appcast
return if cask.appcast
return if cask.appcast || cask.livecheckable?
add_appcast = "please add an appcast. See https://github.com/Homebrew/homebrew-cask/blob/HEAD/doc/cask_language_reference/stanzas/appcast.md"