Skip to content

Commit

Permalink
Update src/js/internal/webstreams/adapters.js
Browse files Browse the repository at this point in the history
Co-authored-by: Jarred Sumner <[email protected]>
  • Loading branch information
snoglobe and Jarred-Sumner authored Nov 5, 2024
1 parent 03eaf07 commit cbe1c9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/internal/webstreams/adapters.js
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,7 @@ function newStreamWritableFromWritableStream(writableStream, options = kEmptyObj
// ended, we signal an error on the stream.Writable.
closed = true;
if (!isWritableEnded(writable))
destroy(writable, new ERR_STREAM_PREMATURE_CLOSE());
destroy(writable, $ERR_STREAM_PREMATURE_CLOSE());
},
(error) => {
// If the WritableStream errors before the stream.Writable has been
Expand Down

0 comments on commit cbe1c9e

Please sign in to comment.