lib/nanoc/cli/command_runner.rb in nanoc-4.8.9 vs lib/nanoc/cli/command_runner.rb in nanoc-4.8.10

- old
+ new

@@ -48,23 +48,17 @@ end # Asserts that the current working directory contains a site and loads the site into memory. # # @return [void] - def load_site(preprocess: false) + def load_site self.class.enter_site_dir $stderr.print 'Loading siteā€¦ ' $stderr.flush - site = Nanoc::Int::SiteLoader.new.new_from_cwd - if preprocess - site.compiler.action_provider.preprocess(site) - end - $stderr.puts 'done' - site end # @return [Boolean] true if debug output is enabled, false if not #