Skip to content

Commit d5f7140

Browse files
ci: apply automated fixes
1 parent 3fc7e6b commit d5f7140

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/db/src/query/effect.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1241,7 +1241,10 @@ function findFirstChangeAfterCursor(
12411241
if (cursor === undefined) {
12421242
continue
12431243
}
1244-
if (lastCursor !== undefined && compareCollectionCursors(cursor, lastCursor) < 0) {
1244+
if (
1245+
lastCursor !== undefined &&
1246+
compareCollectionCursors(cursor, lastCursor) < 0
1247+
) {
12451248
throw new Error(
12461249
`Cursors within a sync batch must be monotonically ordered. ` +
12471250
`Saw ${String(cursor)} after ${String(lastCursor)}.`,

0 commit comments

Comments
 (0)