Skip to content

Commit

Permalink
Fix: BomVdrAffects typo.
Browse files Browse the repository at this point in the history
Signed-off-by: Caroline Russell <[email protected]>
  • Loading branch information
cerrussell committed Jul 31, 2024
1 parent 572dd84 commit 410fe98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_json_diff/custom_diff_classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ def __eq__(self, other):
return True
a1, a2 = order_boms(self, other)
if self.options.allow_new_data and self.options.allow_new_versions:
if a1.bom_ref and not compare_bom_refs(a1.ref, a2.ref):
if a1.ref and not compare_bom_refs(a1.ref, a2.ref):
return False
if a1.versions and not advanced_eq_lists(a1.versions, a2.versions):
return False
Expand Down

0 comments on commit 410fe98

Please sign in to comment.