Skip to content

Commit

Permalink
[fix] Fix for #65
Browse files Browse the repository at this point in the history
  • Loading branch information
indexzero committed Dec 20, 2012
1 parent 0d795ec commit 6045618
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/nconf/stores/memory.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Memory.prototype.get = function (key) {
//
while (path.length > 0) {
key = path.shift();
if (target && key in target) {
if (target && typeof target !== 'string' && key in target) {
target = target[key];
continue;
}
Expand Down

0 comments on commit 6045618

Please sign in to comment.