lib/models/fact_collection.rb in facter-4.0.15 vs lib/models/fact_collection.rb in facter-4.0.16
- old
+ new
@@ -6,10 +6,10 @@
super
end
def build_fact_collection!(facts)
facts.each do |fact|
- next if fact.type == :core && fact.value.nil?
+ next if %i[core legacy].include?(fact.type) && fact.value.nil?
bury_fact(fact)
end
self