template-dir/hooks/pre-commit in overcommit-0.13.0 vs template-dir/hooks/pre-commit in overcommit-0.14.0

- old
+ new

@@ -63,10 +63,11 @@ context = Overcommit::HookContext.create(hook_type, config, ARGV, STDIN) config.apply_environment!(context, ENV) input = Overcommit::UserInput.new(STDIN) - runner = Overcommit::HookRunner.new(config, logger, context, input) + printer = Overcommit::Printer.new(logger, context) + runner = Overcommit::HookRunner.new(config, logger, context, input, printer) status = runner.run exit(status ? 0 : 65) # 65 = EX_DATAERR rescue Overcommit::Exceptions::ConfigurationError => error