mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-01-20 22:52:46 -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();
|
savestream.abort();
|
||||||
stream.emit('error', err);
|
stream.emit('error', err);
|
||||||
});
|
});
|
||||||
|
rstream2.on('end', function() {
|
||||||
|
savestream.done();
|
||||||
|
});
|
||||||
|
|
||||||
// XXX: check, what would happen if client disconnects?
|
// XXX: check, what would happen if client disconnects?
|
||||||
rstream2.pipe(stream);
|
rstream2.pipe(stream);
|
||||||
|
|
Loading…
Add table
Reference in a new issue