Permalink
Browse files

set 1 as the maxDepth of read-installed

we don't use more, so don't do anything fancy
  • Loading branch information...
1 parent 16f22f9 commit eeebe3a1605c877fa4d95c416ad71844da19a9ed @fb55 fb55 committed Sep 8, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/require-analyzer.js
@@ -130,7 +130,7 @@ analyzer.npmAnalyze = function (deps, options, callback) {
// Then see if it depends on any other dependencies that are in the
// list so those dependencies may be removed (only if `options.reduce` is set).
//
- readInstalled(root, function (err, result) {
+ readInstalled(root, 1, function (err, result) {
if (err) {
return callback(err);
}

0 comments on commit eeebe3a

Please sign in to comment.