diff options
-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 7751c701f..34cd666f7 100644 --- a/lib/utils/read-installed.js +++ b/lib/utils/read-installed.js @@ -19,7 +19,7 @@ function readInstalled (args, cb) { return (showAll || args.indexOf(dir) !== -1) && dir.charAt(0) !== "." }) // maybe nothing found - if (!packages.length) cb(null, null) + if (!packages.length) cb(null, []) var p = packages.length , data = {} |