Browse files

Merge pull request #519 from queckezz/fix/ls-depth

fix component-ls --depth
  • Loading branch information...
2 parents 8c09c5d + c5b8435 commit 1766ad9c2b2d1d83095a58a95360c20fc5369cd0 @jonathanong jonathanong committed Apr 5, 2014
Showing with 2 additions and 2 deletions.
  1. +1 −1 bin/component-ls
  2. +1 −1 package.json
View
2 bin/component-ls
@@ -16,5 +16,5 @@ var ls = require('component-ls');
resolve(process.cwd(), function (err, tree) {
if (err) utils.fatal(err.message);
- ls(tree);
+ ls(tree, program.depth);
})
View
2 package.json
@@ -15,7 +15,7 @@
"component-build": "^1.0.1",
"component-consoler": "^1.0.1",
"component-flatten": "^1.0.0",
- "component-ls": "^2.0.0",
+ "component-ls": "^2.1.0",
"component-outdated2": "^1.0.2",
"component-pin": "^1.0.2",
"component-resolver": "^1.0.3",

0 comments on commit 1766ad9

Please sign in to comment.