Skip to content

Commit 308e4a2

Browse files
committed
fixup
1 parent 1c5e5bc commit 308e4a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/streams/pipeline.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ function pipelineImpl(streams, callback, opts) {
327327
pump(ret, stream, finish, { end });
328328
} else {
329329
throw new ERR_INVALID_ARG_TYPE(
330-
'val', ['Readable', 'Iterable', 'AsyncIterable'], val);
330+
'val', ['Readable', 'Iterable', 'AsyncIterable'], ret);
331331
}
332332
ret = stream;
333333
} else {

0 commit comments

Comments
 (0)