mirror of
https://github.com/nodejs/node.git
synced 2026-11-29 14:27:57 -05:00
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:
1 file changed
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user