Merge pull request #16195 from apainintheneck/fix-descriptions-search-and-eval-all

cmd/desc: fix handling of `--eval-all` with formulae
This commit is contained in:
Bo Anderson 2023-11-08 17:34:05 +00:00 committed by GitHub
commit 12d491b872
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,7 +34,7 @@ class DescriptionCacheStore < CacheStore
return unless eval_all return unless eval_all
return unless database.empty? 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 end
# Use an update report to update the {DescriptionCacheStore}. # Use an update report to update the {DescriptionCacheStore}.