Skip to content

Commit

Permalink
Fix codacy issues Signed-off-by: Carolina Oliveira <61292734+Carolina…
Browse files Browse the repository at this point in the history
…Oliiveira@users.noreply.github.com>

Signed-off-by: Carolina Oliveira <61292734+CarolinaOliiveira@users.noreply.github.com>
  • Loading branch information
CarolinaOliiveira committed Sep 9, 2024
1 parent f37c097 commit ac0be49
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ public static void AddSpdxPackages(this Bom bom, SpdxDocument doc)

if (package.Homepage != null)
{
if (component.ExternalReferences == null) component.ExternalReferences = new List<ExternalReference>();
if (component.ExternalReferences == null) { component.ExternalReferences = new List<ExternalReference>(); }
component.ExternalReferences.Add(new ExternalReference
{
Type = ExternalReference.ExternalReferenceType.Website,
Expand Down

0 comments on commit ac0be49

Please sign in to comment.