diff --git a/lib/nconf/provider.js b/lib/nconf/provider.js index 340a262..9807a41 100644 --- a/lib/nconf/provider.js +++ b/lib/nconf/provider.js @@ -294,7 +294,9 @@ Provider.prototype.load = function (callback) { var self = this; function getStores () { - return Object.keys(self.stores).map(function (name) { + var stores = Object.keys(self.stores); + stores.reverse(); + return stores.map(function (name) { return self.stores[name]; }); }