diff options
-rw-r--r-- | lib/utils/proto-list.js | 2 | ||||
-rw-r--r-- | package.json | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/utils/proto-list.js b/lib/utils/proto-list.js index 6adefdf42..a2917c247 100644 --- a/lib/utils/proto-list.js +++ b/lib/utils/proto-list.js @@ -39,7 +39,7 @@ ProtoList.prototype = return this.list.shift() } , get : function (key) { - return this.list[0][key] + return this.list[this.list.length - 1][key] } , set : function (key, val, save) { if (!this.length) this.push({}) diff --git a/package.json b/package.json index 55e5f2f68..5deaa9c97 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name" : "npm" , "description" : "A package manager for node" -, "version" : "0.1.27-9" +, "version" : "0.1.27-10" , "homepage" : "http://npmjs.org/" , "author" : "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me)" , "contributors" : |