From c8822aeffea8e8306707b56e2fa97cbf7cdc446f Mon Sep 17 00:00:00 2001 From: Orion Kindel Date: Tue, 14 May 2024 13:44:33 -0500 Subject: [PATCH] fix: I WAS INCORRECT HHEHE --- src/Node.Stream.Object.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Node.Stream.Object.js b/src/Node.Stream.Object.js index f3af9fc..db8ee5e 100644 --- a/src/Node.Stream.Object.js +++ b/src/Node.Stream.Object.js @@ -30,7 +30,7 @@ export const writeImpl = (s) => (a) => () => { - if (s.closed || s.writableEnded) { + if (s.writableEnded) { return closed; } @@ -46,7 +46,7 @@ export const readImpl = ({ just, closed, wouldBlock }) => (s) => () => { - if (s.closed || s.readableEnded) { + if (s.readableEnded) { return closed; }