Add a comment to that effect

This commit is contained in:
Max schwenk 2023-09-05 22:40:23 -04:00
parent f4f18acf88
commit db19e99095

View File

@ -240,6 +240,9 @@ class Requirement
end
if cache_key.present?
# Even though we setup the cache above
# 'dependent.recursive_dependencies.map(&:to_formula)'
# is invalidating the singleton cache
cache[cache_key] ||= {}
cache[cache_key][cache_id dependent] = reqs.dup
end