Commit 80b3acca authored by Luigi Pinca's avatar Luigi Pinca
Browse files

stream: remove unreachable code

To avoid a function call `BufferList.prototype.concat()` is not called
when there is only a buffer in the list. That buffer is instead
accessed directly.

PR-URL: https://github.com/nodejs/node/pull/18239


Reviewed-By: default avatarMatteo Collina <matteo.collina@gmail.com>
parent e65a6e81
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment