diff --git a/docs/src/gen-docs.js b/docs/src/gen-docs.js index a8ca8412e91f..62d22b17dfc3 100755 --- a/docs/src/gen-docs.js +++ b/docs/src/gen-docs.js @@ -36,7 +36,7 @@ writer.makeDir('build/docs/', true).then(function() { }); }).then(function printStats() { console.log('DONE. Generated ' + docs.length + ' pages in ' + (now()-start) + 'ms.' ); -}).end(); +}).done(); function writeTheRest(writesFuture) {