refactor: lint cleanups and helpers

This commit is contained in:
Peter Steinberger committed 2025-12-23 00:28:55 +00:00
1 parent f5837dff9c
commit 918cbdcf03
39 files changed
+679 -338

No files matched your search

+1 -1
View File
@@ -52,7 +52,7 @@ export async function monitorTelegramProvider(opts: MonitorTelegramOpts = {}) {
// Long polling
const stopOnAbort = () => {
if (opts.abortSignal?.aborted) bot.stop();
if (opts.abortSignal?.aborted) void bot.stop();
};
opts.abortSignal?.addEventListener("abort", stopOnAbort, { once: true });
try {