summaryrefslogtreecommitdiff
path: root/deps/npm/lib/dedupe.js
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2012-11-23 12:51:23 -0800
committerisaacs <i@izs.me>2012-11-23 12:51:23 -0800
commitdb008f7cce0ef21c0f5253b3c3ab91e8ae0db85a (patch)
tree025b81881453ad92cfb568772a65781155f9fd94 /deps/npm/lib/dedupe.js
parentbb867c0fa6c245e95009f18742997b4cf372d6e3 (diff)
downloadnode-new-db008f7cce0ef21c0f5253b3c3ab91e8ae0db85a.tar.gz
npm: Upgrade to 1.1.66
Diffstat (limited to 'deps/npm/lib/dedupe.js')
-rw-r--r--deps/npm/lib/dedupe.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/npm/lib/dedupe.js b/deps/npm/lib/dedupe.js
index 9a357908af..67481c6dbb 100644
--- a/deps/npm/lib/dedupe.js
+++ b/deps/npm/lib/dedupe.js
@@ -225,7 +225,7 @@ function findVersions (npm, summary, cb) {
// not actually a dupe, or perhaps all the other copies were
// children of a dupe, so this'll maybe be picked up later.
if (locs.length === 0) {
- return cb()
+ return cb(null, [])
}
// { <folder>: <version> }