Skip to content

Commit

Permalink
[fix] Update bad variable reference
Browse files Browse the repository at this point in the history
  • Loading branch information
indexzero committed Sep 25, 2011
1 parent d334d07 commit 0234e17
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/nconf/provider.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ var Provider = exports.Provider = function (options) {
this.add(options.store.name || options.store.type, options.store);
}
else if (options.stores) {
Object.keys(options.stores).forEach(function (store) {
Object.keys(options.stores).forEach(function (name) {
var store = options.stores[name];
self.add(store.name || store.type, store);
});
}
Expand Down

0 comments on commit 0234e17

Please sign in to comment.