davglass / license-checker

Check NPM package licenses

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

--files option does not work due to colorization of keys

Christian1984 opened this issue · comments

commented

There is an issue with the colorization of keys in bin/license-checker.js:78 ff.

Since keys are colorized here they can no longer be used as filenames when using the --files option. fs throws multiple errors here.

I'd like to fix that by separating responsibilities in terms of separating data (bare text-keys) from their colored representation (on output).

commented

Fixed in #210