mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-01-20 22:52:46 -05:00
remove undefined variable
This commit is contained in:
parent
a8dc1b2f7b
commit
5d4068d539
1 changed files with 1 additions and 1 deletions
|
@ -530,7 +530,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',
|
||||
}))
|
||||
|
|
Loading…
Add table
Reference in a new issue