summaryrefslogtreecommitdiffstats
path: root/lib/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/index.js')
-rw-r--r--lib/index.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/index.js b/lib/index.js
index 21bc6ff..8b7a390 100644
--- a/lib/index.js
+++ b/lib/index.js
@@ -19,7 +19,10 @@ module.exports = {
'output': output
}));
- return book.generate();
+ return book.parse()
+ .then(function() {
+ return book.generate();
+ });
}
}
]