add qlplugins check to guess_cask_version
This commit is contained in:
parent
5040ec8142
commit
778d5df6d4
@ -122,8 +122,8 @@ module Homebrew
|
|||||||
|
|
||||||
sig { returns(T.nilable(String)) }
|
sig { returns(T.nilable(String)) }
|
||||||
def guess_cask_version
|
def guess_cask_version
|
||||||
if apps.empty? && pkgs.empty?
|
if apps.empty? && pkgs.empty? && qlplugins.empty?
|
||||||
opoo "Cask #{cask} does not contain any apps or PKG installers."
|
opoo "Cask #{cask} does not contain any apps, qlplugins or PKG installers."
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user