Don't use deprecated brew cask flag (fix #516)

This commit is contained in:
Roey Darwish Dror
2020-09-05 07:54:48 +03:00
parent 46b44b3e4a
commit b8cca4e00c

View File

@@ -38,7 +38,7 @@ pub fn run_brew_cask(ctx: &ExecutionContext) -> Result<()> {
} }
args args
} else { } else {
let mut args = vec!["cask", "upgrade"]; let mut args = vec!["upgrade", "--cask"];
if config.brew_cask_greedy() { if config.brew_cask_greedy() {
args.push("--greedy"); args.push("--greedy");
} }