stream: fix lint error

Signed-off-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
PR-URL: https://github.com/nodejs/node/pull/63598
Backport-PR-URL: https://github.com/nodejs/node/pull/64675
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Mattias Buelens <mattias@buelens.com>
This commit is contained in:
Antoine du Hamel committed 2026-08-06 11:33:05 +02:00
1 parent 74bd0cd35a
commit 5e2b4c4ade
1 file changed
+1 -1
+1 -1
View File
@@ -493,7 +493,7 @@ class PushQueue {
pending.reject(this.#error);
} else if (this.#consumerState === 'returned') {
const pending = this.#pendingReads.shift();
pending.resolve({ __proto__: null, value: undefined, done: true });
pending.resolve({ __proto__: null, done: true, value: undefined });
} else {
break;
}