lib/nanoc/base/services/compiler/phases/write.rb in nanoc-4.6.1 vs lib/nanoc/base/services/compiler/phases/write.rb in nanoc-4.6.2

- old
+ new

@@ -9,11 +9,9 @@ contract Nanoc::Int::ItemRep, C::KeywordArgs[is_outdated: C::Bool] => C::Any def run(rep, is_outdated:) @wrapped.run(rep, is_outdated: is_outdated) - rep.snapshot_defs.each do |sdef| - Nanoc::Int::ItemRepWriter.new.write(rep, @snapshot_repo, sdef.name) - end + Nanoc::Int::ItemRepWriter.new.write_all(rep, @snapshot_repo) end end end