Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixup! add comment
  • Loading branch information
debadree25 committed Jan 16, 2023
commit 111281c952b5c8c9473fb24fa3b50b8f76e7fda0
2 changes: 1 addition & 1 deletion lib/internal/streams/pipeline.js
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ function pipe(src, dst, finish, { end }) {
}
});

src.pipe(dst, { end: false });
src.pipe(dst, { end: false }); // If end is true we already will have a listener to end 'dst'.

if (end) {
// Compat. Before node v10.12.0 stdio used to throw an error so
Expand Down