template-dir/hooks/commit-msg in overcommit-0.32.0 vs template-dir/hooks/commit-msg in overcommit-0.33.0
- old
+ new
@@ -71,10 +71,10 @@
config = Overcommit::ConfigurationLoader.new(logger).load_repo_config
context = Overcommit::HookContext.create(hook_type, config, ARGV, STDIN)
config.apply_environment!(context, ENV)
- printer = Overcommit::Printer.new(logger, context)
+ printer = Overcommit::Printer.new(config, logger, context)
runner = Overcommit::HookRunner.new(config, logger, context, printer)
status = runner.run
exit(status ? 0 : 65) # 65 = EX_DATAERR