From 0bb89ee2b4c915c73b5d6577bc3ebdce1424d8ad Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Tue, 11 Feb 2014 12:40:41 -0600 Subject: [PATCH] [fix] have latter stores precede the former stores. --- lib/nconf/provider.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/nconf/provider.js b/lib/nconf/provider.js index 413df5f..06bcf64 100644 --- a/lib/nconf/provider.js +++ b/lib/nconf/provider.js @@ -222,7 +222,7 @@ Provider.prototype.get = function (key, callback) { // the entire set of stores, but up until there is a defined value. // var current = 0, - names = Object.keys(this.stores), + names = Object.keys(this.stores).reverse(), self = this, response, mergeObjs = [];