summaryrefslogtreecommitdiff
path: root/deps/npm/lib/install.js
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2012-06-04 17:32:46 -0700
committerisaacs <i@izs.me>2012-06-04 17:32:59 -0700
commitb9e40fbaacc60de562481b764b0e78bf021f7cfa (patch)
tree0ff91950f15fc6e40ddaccee7c6487f6240aa96b /deps/npm/lib/install.js
parentcc36cc5999937aeb0ed00f82b5c969edecaa1b1d (diff)
downloadnode-b9e40fbaacc60de562481b764b0e78bf021f7cfa.tar.gz
Upgrade npm to 1.1.24
Diffstat (limited to 'deps/npm/lib/install.js')
-rw-r--r--deps/npm/lib/install.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/npm/lib/install.js b/deps/npm/lib/install.js
index 5873ca968..276f3d8b3 100644
--- a/deps/npm/lib/install.js
+++ b/deps/npm/lib/install.js
@@ -606,7 +606,7 @@ function installOne (target, where, context, cb) {
function localLink (target, where, context, cb) {
log.verbose(target._id, "try to link")
- var jsonFile = path.resolve( npm.dir, target.name
+ var jsonFile = path.resolve( npm.globalDir, target.name
, "package.json" )
, parent = context.parent