mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-01-06 22:40:26 -05:00
parent
2f15d1c0fa
commit
8dcb735626
1 changed files with 3 additions and 0 deletions
|
@ -266,6 +266,9 @@ Storage.prototype.get_tarball = function(name, filename) {
|
|||
savestream.abort();
|
||||
stream.emit('error', err);
|
||||
});
|
||||
rstream2.on('end', function() {
|
||||
savestream.done();
|
||||
});
|
||||
|
||||
// XXX: check, what would happen if client disconnects?
|
||||
rstream2.pipe(stream);
|
||||
|
|
Loading…
Reference in a new issue