sindresorhus / hook-std

Hook and modify stdout and stderr
MIT License
54 stars 12 forks source link

`.write()` should return a boolean. #3

Closed jamestalmage closed 8 years ago

jamestalmage commented 8 years ago

The contract for Stream.prototoype.write() specifies a boolean return value. Right now we return undefined, which isn't legal.

My thoughts are as follows:

I have a fix in the works already.