Skip to content

Commit

Permalink
Merge pull request #16195 from apainintheneck/fix-descriptions-search…
Browse files Browse the repository at this point in the history
…-and-eval-all

cmd/desc: fix handling of `--eval-all` with formulae
  • Loading branch information
Bo98 authored Nov 8, 2023
2 parents 3baec05 + 9a90c0f commit 12d491b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Library/Homebrew/description_cache_store.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def populate_if_empty!(eval_all: Homebrew::EnvConfig.eval_all?)
return unless eval_all
return unless database.empty?

Formula.all.each { |f| update!(f.full_name, f.desc) }
Formula.all(eval_all: eval_all).each { |f| update!(f.full_name, f.desc) }
end

# Use an update report to update the {DescriptionCacheStore}.
Expand Down

0 comments on commit 12d491b

Please sign in to comment.