-
Notifications
You must be signed in to change notification settings - Fork 186
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
Error in getting package licenses for node image with scancode #985
Comments
Scancode will sometimes report the |
rnjudge
added a commit
to rnjudge/tern
that referenced
this issue
Jul 6, 2021
There was a traceback error running Tern with Scancode for multiple report formats due to Scancode reporting licenses as a list containing a single string or a list containing a license dictionary when Tern was expecting just a string. This commit resolves the issue by parsing the license list to get the license text before assigning it to a Package object's 'pkg_license' value. Resolves tern-tools#985 tern-tools#844 Signed-off-by: Rose Judge <[email protected]>
rnjudge
added a commit
that referenced
this issue
Jul 6, 2021
There was a traceback error running Tern with Scancode for multiple report formats due to Scancode reporting licenses as a list containing a single string or a list containing a license dictionary when Tern was expecting just a string. This commit resolves the issue by parsing the license list to get the license text before assigning it to a Package object's 'pkg_license' value. Resolves #985 #844 Signed-off-by: Rose Judge <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Traceback when running tern with scancode on node image with the default report
To Reproduce
Error in terminal
Expected behavior
This should execute successfully
The text was updated successfully, but these errors were encountered: