lib/nanoc/base/compilation/compiler.rb in nanoc-4.2.3 vs lib/nanoc/base/compilation/compiler.rb in nanoc-4.2.4
- old
+ new
@@ -189,11 +189,10 @@
@reps.each do |rep|
rep.snapshot_defs = action_provider.snapshots_defs_for(rep)
end
# Find item reps to compile and compile them
- outdated_reps = @reps.select { |r| outdatedness_checker.outdated?(r) }
- selector = Nanoc::Int::ItemRepSelector.new(outdated_reps)
+ selector = Nanoc::Int::ItemRepSelector.new(@reps)
selector.each do |rep|
@stack = []
compile_rep(rep)
end
ensure