diff options
-rw-r--r-- | lib/install.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/install.js b/lib/install.js index 04554112c..ec7161668 100644 --- a/lib/install.js +++ b/lib/install.js @@ -86,7 +86,7 @@ function install_ (pkg, reg, seen, mustHave, pkglist, cb) { , ver = pkg.slice(1).join("@").trim() || defTag , range = semver.validRange(ver) , exact = semver.valid(ver) - , tag = !exact && !range && ver + , tag = !exact && !range && range !== "" && ver log.verbose([pkg, mustHave], "must install?") pkg = pkg.join("@") seen[name+"@"+ver] = true |