lib/nanoc/base/entities/site.rb in nanoc-4.9.4 vs lib/nanoc/base/entities/site.rb in nanoc-4.9.5
- old
+ new
@@ -57,9 +57,10 @@
seen = Set.new
objects.each do |obj|
if seen.include?(obj.identifier)
raise Nanoc::Int::Errors::DuplicateIdentifier.new(obj.identifier, type)
end
+
seen << obj.identifier
end
self
end
end