fix(lint): clear remaining biome errors (unused code, optional chains, non-null assertions, effect deps)

This commit is contained in:
SnapOtter
2026-06-21 01:49:48 +08:00
parent 7561f2a8c3
commit 19dc6ba554
20 changed files with 17 additions and 26 deletions
+1 -1
View File
@@ -387,7 +387,7 @@ export async function registerProgressRoutes(app: FastifyInstance): Promise<void
if (!sseListeners.has(jobId)) {
sseListeners.set(jobId, new Set());
}
sseListeners.get(jobId)!.add(callback);
sseListeners.get(jobId)?.add(callback);
// Clean up on client disconnect
request.raw.on("close", () => {