Linting goodness

This commit is contained in:
Jack Kingsman
2026-02-16 19:16:12 -08:00
parent 1a59eb89fa
commit 56fde32970
4 changed files with 17 additions and 8 deletions
+1 -2
View File
@@ -75,8 +75,7 @@ export function updateAck(messageId: number, ackCount: number, paths?: MessagePa
updated[idx] = {
...current,
acked: Math.max(current.acked, ackCount),
...(paths !== undefined &&
paths.length >= (current.paths?.length ?? 0) && { paths }),
...(paths !== undefined && paths.length >= (current.paths?.length ?? 0) && { paths }),
};
entry.messages = updated;
return; // Message IDs are unique, stop after first match