feat(brew): Add greedy-auto-updates option to Brew (#914)

This commit is contained in:
⑆ Neveda ⑈
2024-09-26 12:29:11 +02:00
committed by GitHub
parent a88574204d
commit f6d2ba4dae
3 changed files with 20 additions and 1 deletions

View File

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