From ec50a678ab1043d07a5bfd1fce928be4c9bb7ca2 Mon Sep 17 00:00:00 2001 From: isaacs Date: Fri, 27 Aug 2010 17:51:07 -0700 Subject: Fix for the config setting that was breaking the 'bundle' command. Hat tip to mbleigh for finding it. --- lib/utils/proto-list.js | 2 +- 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 (http://blog.izs.me)" , "contributors" : -- cgit v1.2.3