Update dependencies
This commit is contained in:
parent
53bd48fc3b
commit
876be19c8b
3 changed files with 19 additions and 14 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue