you have copy/pasted a bug from morestreams
dominictarr opened this issue · comments
Dominic Tarr commented
the BufferedStream does not buffer the 'end' event,
so if the pipe isn't connected before that happens then the pipe will fail.
Josh Holbrook commented
Where is this copypasta-d bug exactly, and where do I/we need to go to fix it?
Dominic Tarr commented
https://github.com/flatiron/union/blob/master/lib/buffered-stream.js#L82
the issue that I linked explains how to fix it.