webscopeio / license.sh

License checker tool - We're in a beta phase, any help is appreciated, especially reporting issues
https://webscopeio.github.io/license.sh
MIT License
40 stars 6 forks source link

CLI whitelisting complex licenses #65

Closed 4rokis closed 4 years ago

4rokis commented 4 years ago

If a package has license for example MIT AND Zlib the CLI will give you option to whitelist "MIT AND Zlib". However, is_license_ok function splits complex licenses on AND and OR and therefore this won't work.

You need to manually add "MIT" and "Zlib" license to the license whitelist config to make it work