Brew --greedy and --formula are mutual exclusive (fix #535) (#537)

This commit is contained in:
Roey Darwish Dror
2020-10-05 13:51:21 +03:00
committed by GitHub
parent f9999b46fa
commit 0a903fc473

View File

@@ -56,8 +56,7 @@ pub fn run_brew(ctx: &ExecutionContext) -> Result<()> {
if cask_upgrade_exists {
brew_args.push("--formula")
}
if ctx.config().brew_cask_greedy() {
} else if ctx.config().brew_cask_greedy() {
brew_args.push("--greedy");
}