summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2014-06-02 11:37:25 +0200
committerSamy Pessé <samypesse@gmail.com>2014-06-02 11:37:25 +0200
commitb1b9dc5b0a52ab1a7355a6d5f83e7187b028c217 (patch)
treec4a8480433ef133981698d58566aaff137d33034
parentf85c5a6498b0886b9dbc42b9f7ee1ef62e167fc6 (diff)
downloadgitbook-b1b9dc5b0a52ab1a7355a6d5f83e7187b028c217.zip
gitbook-b1b9dc5b0a52ab1a7355a6d5f83e7187b028c217.tar.gz
gitbook-b1b9dc5b0a52ab1a7355a6d5f83e7187b028c217.tar.bz2
Fix error during generation
-rw-r--r--lib/generate/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/generate/index.js b/lib/generate/index.js
index c680436..520981c 100644
--- a/lib/generate/index.js
+++ b/lib/generate/index.js
@@ -35,7 +35,7 @@ var checkGenerator = function(options) {
// Create the generator and load plugins
var loadGenerator = function(options) {
- return checkGenerator()
+ return checkGenerator(options)
.then(function() {
var generator = new generators[options.generator](options);