lib/nanoc/extra/checking/check.rb in nanoc-4.1.6 vs lib/nanoc/extra/checking/check.rb in nanoc-4.2.0b1

- old
+ new

@@ -18,16 +18,15 @@ raise Nanoc::Extra::Checking::OutputDirNotFoundError.new(output_dir) end output_filenames = Dir[output_dir + '/**/*'].select { |f| File.file?(f) } # FIXME: ugly - view_context = site.compiler.create_view_context + view_context = site.compiler.create_view_context(Nanoc::Int::DependencyTracker::Null.new) context = { items: Nanoc::ItemCollectionWithRepsView.new(site.items, view_context), layouts: Nanoc::LayoutCollectionView.new(site.layouts, view_context), config: Nanoc::ConfigView.new(site.config, view_context), - site: Nanoc::SiteView.new(site, view_context), # TODO: remove me output_filenames: output_filenames, } new(context) end