Skip to content

Commit

Permalink
fix it for real this time.
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacs committed Aug 27, 2010
1 parent abc22b4 commit 3a55d02
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lib/link.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ function doLink (folder, cb) { return function (er, data) {
})
log.verbose(depsNeeded, "link install deps")
chain
( depsNeeded.length && [ npm.commands, "install", depsNeeded.slice(0) ]
( depsNeeded.length ? [ npm.commands, "install", depsNeeded.slice(0) ]
: function (cb) { return cb() }
, [ symlink, folder, pkgDir ]
, [ npm.commands, "build", [data] ]
, function (er) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{ "name" : "npm"
, "description" : "A package manager for node"
, "version" : "0.1.27-1"
, "version" : "0.1.27-2"
, "homepage" : "http://npmjs.org/"
, "author" : "Isaac Z. Schlueter <[email protected]> (http://blog.izs.me)"
, "contributors" :
Expand Down

0 comments on commit 3a55d02

Please sign in to comment.