Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixed merge issue in Provider.load by reversing store keys in getStores

  • Loading branch information...
commit 5c43d546d1b4c005d4d2988602561694735b3648 1 parent 2804b1f
@jstewmon jstewmon authored indexzero committed
Showing with 3 additions and 1 deletion.
  1. +3 −1 lib/nconf/provider.js
View
4 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];
});
}
Please sign in to comment.
Something went wrong with that request. Please try again.