license-checker icon indicating copy to clipboard operation
license-checker copied to clipboard

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

Open Christian1984 opened this issue 5 years ago • 1 comments

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).

Christian1984 avatar Jul 22 '19 08:07 Christian1984

Fixed in https://github.com/davglass/license-checker/pull/210

Christian1984 avatar Jul 22 '19 08:07 Christian1984