Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Licenseguard cannot handle "*" suffix from license-checker #21

Open
brabenetz opened this issue May 24, 2022 · 0 comments
Open

Licenseguard cannot handle "*" suffix from license-checker #21

brabenetz opened this issue May 24, 2022 · 0 comments

Comments

@brabenetz
Copy link

Problem:

Example-Dependency: [email protected]
[email protected] has no license property in package.json, but the license-checker reads the "LICENSE" file and generates the license-identifier "MIT*". See https://www.npmjs.com/package/license-checker
This will be shown with the * next to the name of the license to show that we "guessed" at it.
image

Proposed Solution:

Licensguard could simple truncate after the index of the "*" like in:
https://github.com/davglass/license-checker/blob/master/lib/index.js#L381-L383
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant