Properly allow quarantine in 'upgrade'

issue was raised in #9139 for upgrade/reinstall --cask and was then
closed by #10284. Issue is that #10284 only actually fixed the reinstall
command, leaving behindd the 'upgrade' one which this now fixes.

Signed-off-by: António Meireles <antonio.meireles@reformi.st>
This commit is contained in:
António Meireles 2021-01-22 17:22:23 +00:00
parent 2268e774a4
commit 19f41bddfd

View File

@ -188,8 +188,8 @@ module Homebrew
force: args.force?,
greedy: args.greedy?,
dry_run: args.dry_run?,
quarantine: args.quarantine?,
binaries: EnvConfig.cask_opts_binaries?,
quarantine: EnvConfig.cask_opts_quarantine?,
require_sha: EnvConfig.cask_opts_require_sha?,
skip_cask_deps: args.skip_cask_deps?,
verbose: args.verbose?,