Skip to content
Snippets Groups Projects
Unverified Commit 0770e0bb authored by Mike McQuaid's avatar Mike McQuaid Committed by GitHub
Browse files

Merge pull request #4814 from zdcthomas/upgrade_greedy_verbose_response

removes auto updates warning if greedy flag is included
parents eaa1eb4b 5cca3315
No related branches found
No related tags found
No related merge requests found
......@@ -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}" } * ", "
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment