From 13d653e4dd6d30d9fa9e7911c0d80e57590488a2 Mon Sep 17 00:00:00 2001 From: Meeeeow Date: Thu, 20 Apr 2017 23:33:43 +0800 Subject: [PATCH] fix search not work for multiple storage --- lib/local-storage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/local-storage.js b/lib/local-storage.js index 3a7dfd0d3..8596e47d9 100644 --- a/lib/local-storage.js +++ b/lib/local-storage.js @@ -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 }