Skip to content

Commit 24b7678

Browse files
committed
fix: shift: false wrong for stream, stream uses same settings as cursor.next
1 parent ea365c1 commit 24b7678

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cursor/abstract_cursor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -961,7 +961,7 @@ class ReadableCursorStream extends Readable {
961961

962962
private _readNext() {
963963
// eslint-disable-next-line github/no-then
964-
next(this._cursor, { blocking: true, transform: true, shift: false }).then(
964+
this._cursor.next().then(
965965
result => {
966966
if (result == null) {
967967
this.push(null);

0 commit comments

Comments
 (0)