Commit 8e2cc69e authored by James Halliday's avatar James Halliday Committed by Trevor Norris
Browse files

stream: fix Readable.wrap objectMode falsy values



A streams1 stream will have its falsy values such as 0, false, or ""
eaten by the upgrade to streams2, even when objectMode is enabled.

Include test for said cases.

Reviewed-by: default avatarisaacs <i@izs.me>
Reviewed-by: default avatarTrevor Norris <trev.norris@gmail.com>
parent 92518892
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