Skip to content

Commit 6288e57

Browse files
committed
fixup
1 parent 2621ea3 commit 6288e57

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
@@ -321,7 +321,7 @@ function pipelineImpl(streams, callback, opts) {
321321
pump(ret, stream, finish);
322322
} else {
323323
throw new ERR_INVALID_ARG_TYPE(
324-
'val', ['Readable', 'Iterable', 'AsyncIterable'], val);
324+
'val', ['Readable', 'Iterable', 'AsyncIterable'], ret);
325325
}
326326
ret = stream;
327327
} else {

0 commit comments

Comments
 (0)