Update dependencies

This commit is contained in:
Domenic Denicola 2017-01-02 19:27:48 -05:00
commit 876be19c8b
3 changed files with 19 additions and 14 deletions

View file

@ -23,8 +23,8 @@ const COVER_MIMETYPE = "image/png";
module.exports = function (scaffoldingPath, bookPath, contentPath, chaptersPath, manifestPath) {
return Promise.all([
cpr(scaffoldingPath, bookPath, { filter: noThumbs }),
getChapters(contentPath, chaptersPath, manifestPath).then(function (chapters) {
cpr(scaffoldingPath, bookPath, { overwrite: true, confirm: true, filter: noThumbs }),
return Promise.all([
writeOpf(chapters, contentPath),
writeNcx(chapters, contentPath)