0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2025-02-17 23:45:29 -05:00

(fix): Fix wrong reference to config packages

This commit is contained in:
Juan Picado @jotadeveloper 2017-07-02 15:00:05 +02:00
parent f504c6c181
commit 71a22be8ca
No known key found for this signature in database
GPG key ID: 18AC54485952D158

View file

@ -655,7 +655,7 @@ class LocalStorage {
storages[this.config.storage] = true;
if (this.config.packages) {
Object.keys(this.packages || {}).map( (pkg) => {
Object.keys(this.config.packages || {}).map( (pkg) => {
if (this.config.packages[pkg].storage) {
storages[this.config.packages[pkg].storage] = true;
}