Merge pull request #4814 from zdcthomas/upgrade_greedy_verbose_response
removes auto updates warning if greedy flag is included
This commit is contained in:
commit
0770e0bb67
@ -26,7 +26,7 @@ module Hbc
|
||||
return
|
||||
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:"
|
||||
puts outdated_casks.map { |f| "#{f.full_name} #{f.version}" } * ", "
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user