Stop failing the convert step due to busy filesystems
This often happens with virus scanners, etc.
This commit is contained in:
parent
7d5167c952
commit
58b0856deb
1 changed files with 1 additions and 1 deletions
|
|
@ -84,7 +84,7 @@ if (argv._.includes("download")) {
|
|||
|
||||
if (argv._.includes("convert")) {
|
||||
commands.push(() => {
|
||||
return fs.rmdir(chaptersPath, { recursive: true })
|
||||
return fs.rmdir(chaptersPath, { 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