cask/cmd/update: output message consistency

This commit is contained in:
miccal 2020-08-06 16:16:19 +08:00
parent ab9b15caeb
commit a4f676c556

View File

@ -59,10 +59,7 @@ module Cask
end
end
if outdated_casks.empty?
oh1 "No Casks to upgrade"
return
end
return if outdated_casks.empty?
ohai "Casks with `auto_updates` or `version :latest` will not be upgraded" if casks.empty? && !greedy