mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-16 21:56:25 -05:00
fix search not work for multiple storage
This commit is contained in:
parent
ea4f8474c1
commit
13d653e4dd
1 changed files with 1 additions and 1 deletions
|
@ -480,7 +480,7 @@ Storage.prototype._each_package = function (on_package, on_end) {
|
|||
storages[self.config.storage] = true
|
||||
|
||||
if (self.config.packages) {
|
||||
Object.keys(self.packages || {}).map(function (pkg) {
|
||||
Object.keys(self.config.packages || {}).map(function (pkg) {
|
||||
if (self.config.packages[pkg].storage) {
|
||||
storages[self.config.packages[pkg].storage] = true
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue