diff options
author | isaacs <i@izs.me> | 2011-05-31 11:45:05 +0400 |
---|---|---|
committer | isaacs <i@izs.me> | 2011-05-31 11:45:14 +0400 |
commit | 2f7d0572fb6bc27a736f9bbdf0fe9a250f5d5103 (patch) | |
tree | c36be9b16bf8eb9ca64836a08a82bb1ba227939b | |
parent | 2e4f8c6baf06b82230c1c71de30543a1e52cae92 (diff) |
Regression in 'npm link' when referencing a relative path
-rw-r--r-- | lib/link.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/link.js b/lib/link.js index f7ad85f78..b5c0b1817 100644 --- a/lib/link.js +++ b/lib/link.js @@ -107,7 +107,7 @@ function linkPkg (folder, cb_) { , { dev: true } , function (er, d) { function cb (er) { - return cb_(er, [[target, d && d._id]]) + return cb_(er, [[d && d._id, target, null, null]]) } if (er) return cb(er) var target = path.resolve(gp, "lib", "node_modules", d.name) |