Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2010-08-28 04:51:07 +0400
committerisaacs <i@izs.me>2010-08-28 04:51:07 +0400
commitec50a678ab1043d07a5bfd1fce928be4c9bb7ca2 (patch)
treea1884e075a8e7319349a388e148294535f8ef87f
parente79f49d4aaa8704b1dda1ab2edddd5e261529b42 (diff)
Fix for the config setting that was breaking the 'bundle' command. Hat tip to mbleigh for finding it.v0.1.27-10
-rw-r--r--lib/utils/proto-list.js2
-rw-r--r--package.json2
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" :