Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Commit

Permalink
Brew --greedy and --formula are mutual exclusive (fix #535) (#537)
Browse files Browse the repository at this point in the history
  • Loading branch information
r-darwish authored Oct 5, 2020
1 parent f9999b4 commit 0a903fc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/steps/os/unix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}

Expand Down

0 comments on commit 0a903fc

Please sign in to comment.