feat: Keep current xlsx document
All checks were successful
Remote Deploy / deploy (push) Successful in 4s
All checks were successful
Remote Deploy / deploy (push) Successful in 4s
This commit is contained in:
@@ -170,6 +170,8 @@ async function handleError(page, err) {
|
||||
console.log('Waiting for file:', downloadedFilePath);
|
||||
await waitForFile(downloadedFilePath);
|
||||
|
||||
await fs.promises.cp(downloadedFilePath, "db/current.xlsx");
|
||||
|
||||
await parseThisShit(downloadedFilePath);
|
||||
await clearDownloadsFolder();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user