this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix cursor handling

alice bf367e27 83c8ac0e

+1
+1
src/main.ts
··· 19 19 logger.info(`Cursor found: ${cursor} (${epochUsToDateTime(cursor)})`); 20 20 } catch (error) { 21 21 if (error instanceof Error && 'code' in error && error.code === 'ENOENT') { 22 + cursor = Math.floor(Date.now() * 1000); 22 23 logger.info(`Cursor not found in cursor.txt, setting cursor to: ${cursor} (${epochUsToDateTime(cursor)})`); 23 24 fs.writeFileSync('cursor.txt', cursor.toString(), 'utf8'); 24 25 } else {