Skip to content
Snippets Groups Projects
Unverified Commit 6968c199 authored by Markus Reiter's avatar Markus Reiter Committed by GitHub
Browse files

Merge pull request #10284 from reitermarkus/reinstall-cask-options

Properly pass cask options in `reinstall`.
parents bc6703c1 7236faee
No related branches found
No related tags found
No related merge requests found
......@@ -163,8 +163,8 @@ module Homebrew
binaries: args.binaries?,
verbose: args.verbose?,
force: args.force?,
skip_cask_deps: args.skip_cask_deps?,
require_sha: args.require_sha?,
skip_cask_deps: args.skip_cask_deps?,
quarantine: args.quarantine?,
)
end
......
......@@ -104,12 +104,12 @@ module Homebrew
if casks.any?
Cask::Cmd::Reinstall.reinstall_casks(
*casks,
binaries: EnvConfig.cask_opts_binaries?,
binaries: args.binaries?,
verbose: args.verbose?,
force: args.force?,
require_sha: EnvConfig.cask_opts_require_sha?,
require_sha: args.require_sha?,
skip_cask_deps: args.skip_cask_deps?,
quarantine: EnvConfig.cask_opts_quarantine?,
quarantine: args.quarantine?,
)
end
......
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