1
0

refactor: Some minor refinements
Remote Deploy / deploy (push) Successful in 1m28s

This commit is contained in:
2026-06-05 18:24:54 +02:00
parent e94c43ca6e
commit 8fe2bd3bf2
7 changed files with 46 additions and 296 deletions
+2 -2
View File
@@ -15,7 +15,7 @@
import puppeteer, { Page, Browser } from 'puppeteer';
import path from 'path';
import fs from 'fs';
import parseThisShit from './parse.js';
import parseAll from './parse.js';
import 'dotenv/config';
const EMAIL = process.env.EMAIL;
@@ -195,7 +195,7 @@ async function handleError(page: Page, err: any) {
await fs.promises.cp(downloadedFilePath, path.join(DB_FOLDER, "current.xlsx"));
await parseThisShit(downloadedFilePath);
await parseAll(downloadedFilePath);
await clearDownloadsFolder();
await browser.close();