diff --git a/lib/index.js b/lib/index.js index 6c968db..3ccfdcf 100644 --- a/lib/index.js +++ b/lib/index.js @@ -155,9 +155,8 @@ var flatten = function(options) { }; exports.init = function(options, callback) { - - console.log('scanning' , options.start); - read(options.start, { dev: true }, function(err, json) { + //console.log('scanning' , options.start); + read(options.start, options, function(err, json) { var data = flatten({ deps: json, data: {}, diff --git a/package.json b/package.json index c1e7237..d509338 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "chalk": "~0.5.1", "mkdirp": "^0.3.5", "nopt": "^2.2.0", - "read-installed": "~3.1.3", + "read-installed": "git+https://github.com/mwittig/read-installed#f09d32cc468bc9bdc9ed3409314a16ef0f27a50b", "treeify": "^1.0.1" }, "devDependencies": {