dev-cmd/unbottled: fix --dependents erroring

This commit is contained in:
Bo Anderson 2022-10-25 15:44:29 +01:00
parent f9e49a89ab
commit e47988a12b
No known key found for this signature in database
GPG Key ID: 3DB94E204E137D65

View File

@ -88,7 +88,7 @@ module Homebrew
if args.named.present?
formulae = all_formulae = args.named.to_formulae
elsif args.dependents?
if !args.all? && !Homebrew::EnvConfig.eval_all?
if !args.eval_all? && !Homebrew::EnvConfig.eval_all?
odeprecated "brew unbottled --dependents", "brew unbottled --all --dependents or HOMEBREW_EVAL_ALL"
end
formulae = all_formulae = Formula.all