0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2025-01-06 22:40:26 -05:00

Merge remote-tracking branch 'origin/0.9.x'

This commit is contained in:
Alex Kocharin 2014-08-08 05:15:22 +04:00
commit 77700e72b1

View file

@ -575,7 +575,7 @@ Storage.prototype.get_recent_packages = function(startkey, callback) {
Storage.prototype.update_package = function(name, updateFn, _callback) {
var self = this
var storage = self.storage(name)
if (!storage) return callback(new UError({
if (!storage) return _callback(new UError({
status: 404,
message: 'no such package available',
}))