lib/nanoc/cli/command_runner.rb in nanoc-4.8.15 vs lib/nanoc/cli/command_runner.rb in nanoc-4.8.16
- old
+ new
@@ -8,10 +8,10 @@
class CommandRunner < ::Cri::CommandRunner
# @see http://rubydoc.info/gems/cri/Cri/CommandRunner#call-instance_method
#
# @return [void]
def call
- Nanoc::CLI::ErrorHandler.handle_while(command: self) do
+ Nanoc::CLI::ErrorHandler.handle_while do
run
end
end
# @return [Boolean] true if the current working directory is a Nanoc site