Closed hthetiot closed 7 years ago
@kriskowal How about 469ff2cffc6bbb04cd04614e8bd93e779b7e93ef it should not change forEach behavior.
Nah breaking test, will look why previous change did not.
Here we go, restored BufferStream and only fixed fsMock, tests are passing.
@kriskowal if you agreed, merge. If you want BufferStream.prototype.clone in this pull request let me know see review comment.
I’ve granted you collaborator permissions and approved the request. You are free to merge, cut a patch, and release. (I don’t want to block you)
I will add you as an owner in npm as well. Is this you? https://www.npmjs.com/~hthetiot
@kriskowal Yes I'm ~hthetiot on npm. Merging this pull.
❯ npm owner ls q-io
arikon <peimei@ya.ru>
gagern <Martin.vGagern@gmx.net>
hthetiot <hthetiot@gmail.com>
kriskowal <kris.kowal@cixar.com>
fix empty File.chunks on MockFs second request due BufferStream splice on reference.
Using following example with Joey, "a/b/d.txt" get only served once: See example https://github.com/montagejs/joey/pull/16