From 308e4a2c8feb4a3bcc7e2b1a20790f6d78675bfa Mon Sep 17 00:00:00 2001 From: Robert Nagy Date: Mon, 22 Nov 2021 08:59:43 +0100 Subject: [PATCH] fixup --- lib/internal/streams/pipeline.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/internal/streams/pipeline.js b/lib/internal/streams/pipeline.js index 3cac3e7a940d2a..74963ec77f10e7 100644 --- a/lib/internal/streams/pipeline.js +++ b/lib/internal/streams/pipeline.js @@ -327,7 +327,7 @@ function pipelineImpl(streams, callback, opts) { pump(ret, stream, finish, { end }); } else { throw new ERR_INVALID_ARG_TYPE( - 'val', ['Readable', 'Iterable', 'AsyncIterable'], val); + 'val', ['Readable', 'Iterable', 'AsyncIterable'], ret); } ret = stream; } else {