-
Notifications
You must be signed in to change notification settings - Fork 20
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
Parlay error related to supplier with enriching SPDX JSON #92
Comments
I'll do some debugging and attach a debug output later today. |
Narrowed the issue down. It has to do with blank supplier names not being valid. To fix this, we just need to add a check for empty strings in the conditional at: parlay/lib/ecosystems/enrich_spdx.go Line 78 in b0523a0
|
I tested the following replacement for line 78 and it resolved the issue:
|
Thanks @goneall for reporting, this should be a quick fix. 🙂 |
Thanks @mcombuechen |
When enriching the attached file, the following error is generated:
Here's the JSON file being enriched:
o-ran-int-trivy-spdx.json.txt
Parlay version 0.6.0 was used.
Note related: lfscanning/scaffold#131
The text was updated successfully, but these errors were encountered: