pinojs / sonic-boom

Extremely fast utf8 only stream implementation
MIT License
261 stars 41 forks source link

fix: ensure writingBuf is string #127

Closed ronag closed 2 years ago

ronag commented 2 years ago

I'm unsure what happens if fs.write is called with null/undefined. In the case where flush is called on an empty instance we might write undefined to fs.write.

mcollina commented 2 years ago

CI is not happy about this change