Skip to content
This repository
Browse code

Fix #2934 dedupe set must be [] when empty

  • Loading branch information...
commit 6e5805bb95d77541aa04b4a52e3d30d6430fc473 1 parent 54cb6ea
Isaac Z. Schlueter authored November 08, 2012

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  lib/dedupe.js
2  lib/dedupe.js
@@ -225,7 +225,7 @@ function findVersions (npm, summary, cb) {
225 225
     // not actually a dupe, or perhaps all the other copies were
226 226
     // children of a dupe, so this'll maybe be picked up later.
227 227
     if (locs.length === 0) {
228  
-      return cb()
  228
+      return cb(null, [])
229 229
     }
230 230
 
231 231
     // { <folder>: <version> }

0 notes on commit 6e5805b

Please sign in to comment.
Something went wrong with that request. Please try again.