From 25ae21dae35e42268be28d9efa7f8175841c7dcc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samy=20Pess=C3=A9?= Date: Thu, 25 Feb 2016 12:18:40 +0100 Subject: [PATCH] Call hook "init" during generation --- lib/output/base.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/output/base.js b/lib/output/base.js index f2680081d..025e85080 100644 --- a/lib/output/base.js +++ b/lib/output/base.js @@ -68,6 +68,9 @@ Output.prototype.generate = function() { }) // Initialize the generation + .then(function() { + return that.plugins.hook('init'); + }) .then(function() { that.log.info.ln('preparing the generation'); return that.prepare();