We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8591a08 commit bd7d6cbCopy full SHA for bd7d6cb
src/core/ace.js
@@ -63,9 +63,11 @@ module.exports = function ace(epubPath, options) {
63
if (options.outdir === undefined) {
64
winston.info(JSON.stringify(report.getJsonReport(), null, ' '));
65
} else {
66
- report.copyData(options.outdir);
67
- report.saveJson(options.outdir);
68
- report.saveHtml(options.outdir);
+ return Promise.all([
+ report.copyData(options.outdir),
+ report.saveJson(options.outdir),
69
+ report.saveHtml(options.outdir),
70
+ ]);
71
}
72
})
73
.then(() => {
0 commit comments