parent
c860873d78
commit
12394da334
1 changed files with 1 additions and 1 deletions
|
|
@ -87,7 +87,7 @@ if (argv._.includes("download")) {
|
|||
|
||||
if (argv._.includes("convert")) {
|
||||
commands.push(() => {
|
||||
return fs.rmdir(chaptersPath, { recursive: true, maxRetries: 3 })
|
||||
return fs.rm(chaptersPath, { force: true, recursive: true, maxRetries: 3 })
|
||||
.then(() => fs.mkdir(chaptersPath, { recursive: true }))
|
||||
.then(() => convert(cachePath, manifestPath, chaptersPath, argv.book, argv.jobs));
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue