diff options
author | Samy Pessé <samypesse@gmail.com> | 2014-04-27 15:41:02 +0200 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2014-04-27 15:41:02 +0200 |
commit | 36a67e4c91efc92476687ab20f43a62259580ecd (patch) | |
tree | 3818ff815ee343b606e916a297f8bc2d1d8f40fd /lib/generate/generator.js | |
parent | 69431e1bbb0381a6eeeb22010d73ccf61105db6f (diff) | |
download | gitbook-36a67e4c91efc92476687ab20f43a62259580ecd.zip gitbook-36a67e4c91efc92476687ab20f43a62259580ecd.tar.gz gitbook-36a67e4c91efc92476687ab20f43a62259580ecd.tar.bz2 |
Fix #169: fix resolve of external plugins
Diffstat (limited to 'lib/generate/generator.js')
-rw-r--r-- | lib/generate/generator.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/generate/generator.js b/lib/generate/generator.js index e303345..144af23 100644 --- a/lib/generate/generator.js +++ b/lib/generate/generator.js @@ -19,7 +19,7 @@ BaseGenerator.prototype.callHook = function(name) { BaseGenerator.prototype.loadPlugins = function() { var that = this; - return Plugin.fromList(this.options.plugins) + return Plugin.fromList(this.options.plugins, this.options.input) .then(function(_plugins) { that.plugins = _plugins; |