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