MrRaindrop / tree-cli

🌴List contents of directories in tree-like format.
MIT License
253 stars 24 forks source link

Debug log is printed by default #4

Closed danfooo closed 8 years ago

danfooo commented 8 years ago

When I tree ./build, I get my log prepended by this:

[log] flags { debug: false,
  base: '.',
  indent: 2,
  fullpath: false,
  link: false,
  noreport: false,
  l: 1,
  o: 'tree_out',
  f: false }
[log] result:

I'd expect that not to be there when I'm not passing any debug flags. My version of tree is 0.4.6, node version is 6.7.0.

MrRaindrop commented 8 years ago

You are right, now it's concealed for the --debug flag, just to print the result and output file path.

danfooo commented 8 years ago

Okay yeah, looks better in 0.4.9. Another problem is that by default a tree_out file is written, that's not supposed to happen, right?