0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2025-04-01 02:42:23 -05:00

fix: remove use of comma separator (#1186)

This commit is contained in:
Daniel Ruf 2019-01-14 19:25:29 +01:00 committed by Juan Picado @jotadeveloper
parent e9b3907859
commit f20fefaf87

View file

@ -324,17 +324,20 @@ class Storage implements IStorageHandler {
lstream.pipe(stream, {end: false});
lstream.on('error', function(err) {
self.logger.error({err: err}, 'uplink error: @{err.message}');
cb(), cb = function() {};
cb();
cb = function() {};
});
lstream.on('end', function() {
cb(), cb = function() {};
cb();
cb = function() {};
});
stream.abort = function() {
if (lstream.abort) {
lstream.abort();
}
cb(), cb = function() {};
cb();
cb = function() {};
};
},
// executed after all series