feat(brew): adds "greedy-latest" option to Brew (#636)

This commit is contained in:
luciodaou
2024-02-17 00:45:57 -03:00
committed by GitHub
parent 7a3f3a8905
commit 8991bc9f62
3 changed files with 14 additions and 0 deletions

View File

@@ -333,6 +333,9 @@ pub fn run_brew_cask(ctx: &ExecutionContext, variant: BrewVariant) -> Result<()>
if ctx.config().brew_cask_greedy() {
brew_args.push("--greedy");
}
if ctx.config().brew_greedy_latest() {
brew_args.push("--greedy-latest");
}
}
variant.execute(run_type).args(&brew_args).status_checked()?;