diff options
author | isaacs <i@izs.me> | 2012-03-01 20:29:47 +0400 |
---|---|---|
committer | isaacs <i@izs.me> | 2012-03-01 20:29:47 +0400 |
commit | a27de64071231f74bcd27eb7b69f3492c7e830c9 (patch) | |
tree | d771d16567a6593913a2c015d9eec5ee27b9b8a0 | |
parent | b708c1e5f9fd9be7f0daa6efe92461d5961c3215 (diff) |
fix overly agressive re-use of installed pkgs
-rw-r--r-- | lib/install.js | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/install.js b/lib/install.js index c9cb00c4f..19d03d5a6 100644 --- a/lib/install.js +++ b/lib/install.js @@ -494,12 +494,7 @@ function targetResolver (where, context, deps) { if (context.family[what]) { if (wrap && wrap[what].version == context.family[what]) { - log.verbose("using existing "+what+" (matches shrinkwrap)") - return cb(null, []) - } - - if (!wrap && semver.satisfies(context.family[what], deps[what] || "")) { - log.verbose("using existing "+what+" (no shrinkwrap)") + log.verbose(what, "using existing (matches shrinkwrap)") return cb(null, []) } } |