diff options
-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, []) } } |