typo in comment
This commit is contained in:
parent
5104bf7e2d
commit
3a7fbafaeb
6
nzz.js
6
nzz.js
@ -69,7 +69,11 @@ function moveDownload(tmpDir, outDir, date) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
let destFile = path.join(outDir, `${date.isoDate()}.pdf`);
|
let destFile = path.join(outDir, `${date.isoDate()}.pdf`);
|
||||||
fs.copyFileSync(srcFile, destFile);
|
try {
|
||||||
|
fs.copyFileSync(srcFile, destFile);
|
||||||
|
} catch {
|
||||||
|
// this means it was tried to download a wrong issue
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user