lib/nanoc/base/services/compiler.rb in nanoc-4.8.10 vs lib/nanoc/base/services/compiler.rb in nanoc-4.8.11

- old
+ new

@@ -76,11 +76,11 @@ run_stage(forget_outdated_dependencies_stage, outdated_items) run_stage(store_pre_compilation_state_stage(action_sequences, reps), checksums) run_stage(prune_stage(reps)) run_stage(compile_reps_stage(action_sequences, reps)) run_stage(store_post_compilation_state_stage) - run_stage(postprocess_stage(reps), self) + run_stage(postprocess_stage, self) ensure run_stage(cleanup_stage) end def compilation_context(reps:) @@ -189,14 +189,13 @@ @_store_post_compilation_state_stage ||= Stages::StorePostCompilationState.new( dependency_store: @dependency_store, ) end - def postprocess_stage(reps) + def postprocess_stage @_postprocess_stage ||= Stages::Postprocess.new( action_provider: @action_provider, site: @site, - reps: reps, ) end def cleanup_stage @_cleanup_stage ||= Stages::Cleanup.new(@site.config)