diff options
author | Samy Pessé <samypesse@gmail.com> | 2016-02-25 12:18:40 +0100 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2016-02-25 12:18:40 +0100 |
commit | 25ae21dae35e42268be28d9efa7f8175841c7dcc (patch) | |
tree | 3f72529f7c6129b8317fdaf6e7f4f628388c48f8 /lib | |
parent | 94393bef4bf27857076264f0b7f6bbb72c04d3b1 (diff) | |
download | gitbook-25ae21dae35e42268be28d9efa7f8175841c7dcc.zip gitbook-25ae21dae35e42268be28d9efa7f8175841c7dcc.tar.gz gitbook-25ae21dae35e42268be28d9efa7f8175841c7dcc.tar.bz2 |
Call hook "init" during generation
Diffstat (limited to 'lib')
-rw-r--r-- | lib/output/base.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/output/base.js b/lib/output/base.js index f268008..025e850 100644 --- a/lib/output/base.js +++ b/lib/output/base.js @@ -69,6 +69,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(); }) |