Don't use deprecated brew cask flag (fix #516)
This commit is contained in:
@@ -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");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user