cmd/upgrade: only ask about cask upgrade with --ask
This commit is contained in:
parent
c1d29f65a5
commit
1c138a613b
@ -261,7 +261,7 @@ module Homebrew
|
||||
def upgrade_outdated_casks(casks)
|
||||
return false if args.formula?
|
||||
|
||||
Install.ask_casks casks
|
||||
Install.ask_casks casks if args.ask?
|
||||
|
||||
Cask::Upgrade.upgrade_casks(
|
||||
*casks,
|
||||
|
Loading…
x
Reference in New Issue
Block a user