diff options
Diffstat (limited to 'lib/utils/read-installed.js')
-rw-r--r-- | lib/utils/read-installed.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/utils/read-installed.js b/lib/utils/read-installed.js index 0be942ff7..8746f333e 100644 --- a/lib/utils/read-installed.js +++ b/lib/utils/read-installed.js @@ -37,7 +37,7 @@ function readInstalled (args, cb) { if (activeVersion && data[package][activeVersion]) { data[package][activeVersion].active = true } - if (!version) listed() + if (!version || version.charAt(0) === ".") return listed() if (version !== "active") { data[package][version] = data[package][version] || {} return process.nextTick(V) |