diff --git a/src/lib/local-storage.js b/src/lib/local-storage.js index 323b93bdd..ffbc5d8a0 100644 --- a/src/lib/local-storage.js +++ b/src/lib/local-storage.js @@ -641,7 +641,7 @@ class LocalStorage implements IStorage { const {packages} = this.config; if (packages) { - const listPackagesConf = Object.keys(packages || {}); + const listPackagesConf = Object.keys(packages); listPackagesConf.map( (pkg) => { if (packages[pkg].storage) {