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:
commit
12d491b872
@ -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}.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user