Skip to content

Commit

Permalink
formatting issues
Browse files Browse the repository at this point in the history
Signed-off-by: m-brophy <mbrophy@redhat.com>
  • Loading branch information
m-brophy committed Oct 3, 2023
1 parent d0a9d79 commit 8b7d2b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/ingestor/parser/spdx/parse_spdx.go
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ func (s *spdxParser) GetPredicates(ctx context.Context) *assembler.IngestPredica
if isDependency(rel.Relationship) {
foundId = string(rel.RefA.ElementRefID)
relatedId = string(rel.RefB.ElementRefID)
} else if isDependent(rel.Relationship) || isPackageOf(rel.Relationship){
} else if isDependent(rel.Relationship) || isPackageOf(rel.Relationship) {
foundId = string(rel.RefB.ElementRefID)
relatedId = string(rel.RefA.ElementRefID)
} else {
Expand Down

0 comments on commit 8b7d2b7

Please sign in to comment.