When dependencies get retrieved from a few lines above the following snippet, all the content gets colorized so if you need to whitelist let's say serial because it has unrecognized MIT* license, you have to write it like \x1B[94mserial\x1B[39m@\x1B[32m0.0.9\x1B[39m, still this cannot be passed via NPM scripts.
When
dependencies
get retrieved from a few lines above the following snippet, all the content gets colorized so if you need to whitelist let's sayserial
because it has unrecognizedMIT*
license, you have to write it like\x1B[94mserial\x1B[39m@\x1B[32m0.0.9\x1B[39m
, still this cannot be passed via NPM scripts.https://github.com/adrianjost/license-ci-checker/blob/697b818d84193b70f2ffa21659f2d57d36461256/index.js#L82-L86
This issue is easily solved by a regex, see https://github.com/adrianjost/license-ci-checker/pull/6.