digidem/indexed-tarball

possible bug

Opened this issue · 0 comments

via @gmaclennan:

At https://github.com/digidem/indexed-tarball/blob/master/single.js#L87 you listen to end on the through stream, but I think there is a chance that there could still be buffered data at this point before the actual fs.writeStream has finished, so when writing to the file it might be in an unstable state.