Skip to content

Commit 3b559e1

Browse files
committed
Use implicit radix arg when calling parseInt
1 parent 9c46d5d commit 3b559e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/v3/apiClient/runStream.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -762,7 +762,7 @@ function parseRedisStreamIdTimestamp(id?: string): number {
762762
return Date.now();
763763
}
764764

765-
const timestamp = parseInt(id.split("-")[0] as string);
765+
const timestamp = parseInt(id.split("-")[0] as string, 10);
766766
if (isNaN(timestamp)) {
767767
return Date.now();
768768
}

0 commit comments

Comments
 (0)