removes auto updates warning if greedy flag is included
This commit is contained in:
parent
88bf60d589
commit
f71f74da4a
@ -25,8 +25,8 @@ module Hbc
|
|||||||
oh1 "No Casks to upgrade"
|
oh1 "No Casks to upgrade"
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
ohai "Casks with `auto_updates` or `version :latest` will not be upgraded" if args.empty?
|
ohai "Casks with `auto_updates` or `version :latest` will not be upgraded" if args.empty? && !greedy?
|
||||||
oh1 "Upgrading #{Formatter.pluralize(outdated_casks.length, "outdated package")}, with result:"
|
oh1 "Upgrading #{Formatter.pluralize(outdated_casks.length, "outdated package")}, with result:"
|
||||||
puts outdated_casks.map { |f| "#{f.full_name} #{f.version}" } * ", "
|
puts outdated_casks.map { |f| "#{f.full_name} #{f.version}" } * ", "
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user