Skip to content

Commit

Permalink
commented out console output, pass options to read-installed, use mod…
Browse files Browse the repository at this point in the history
…ified version use modified read-installed which handles "prod" flag
  • Loading branch information
mwittig committed Apr 9, 2019
1 parent d546e3f commit 32d16cc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: {},
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down

0 comments on commit 32d16cc

Please sign in to comment.