Skip to content

Commit cd26628

Browse files
committed
revert formatting change
1 parent c27a36f commit cd26628

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lib/internal/streams/end-of-stream.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,11 +153,13 @@ function eos(stream, options, callback) {
153153

154154
if (readable && !readableFinished && isReadableNodeStream(stream, true)) {
155155
if (!isReadableFinished(stream, false))
156-
return callback.call(stream, new ERR_STREAM_PREMATURE_CLOSE());
156+
return callback.call(stream,
157+
new ERR_STREAM_PREMATURE_CLOSE());
157158
}
158159
if (writable && !writableFinished) {
159160
if (!isWritableFinished(stream, false))
160-
return callback.call(stream, new ERR_STREAM_PREMATURE_CLOSE());
161+
return callback.call(stream,
162+
new ERR_STREAM_PREMATURE_CLOSE());
161163
}
162164

163165
callback.call(stream);

0 commit comments

Comments
 (0)