lib/nanoc/cli/command_runner.rb in nanoc-3.3.6 vs lib/nanoc/cli/command_runner.rb in nanoc-3.3.7
- old
+ new
@@ -54,10 +54,9 @@
# ({Nanoc::Site} instance). If no site is present, prints an error
# message and exits.
#
# @return [void]
def require_site
- @site = nil
if site.nil?
$stderr.puts 'The current working directory does not seem to be a ' +
'valid/complete nanoc site directory; aborting.'
exit 1
end