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

Bugfix: merging starRelationships iterates over output SBOM entries #128

Merged
merged 1 commit into from
Feb 7, 2024

Conversation

nightlark
Copy link
Collaborator

flake8 flagged line 203 (self.starRelationships.append(rel)) as mutating the array that is being iterated over. It looks like the cause of this is actually a bug with iterating over the starRelationships in self instead of the input sbom_m (see pattern for merging other SBOM array fields).

@nightlark nightlark added the bug Something isn't working label Feb 6, 2024
@nightlark nightlark self-assigned this Feb 6, 2024
@nightlark nightlark requested a review from mws180000 February 6, 2024 19:24
@nightlark nightlark merged commit 4691549 into main Feb 7, 2024
11 checks passed
@nightlark nightlark deleted the bugfix-merging-to-wrong-sbom branch February 7, 2024 21:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants