Skip to content

Commit

Permalink
fix: SA for unpram
Browse files Browse the repository at this point in the history
Signed-off-by: Christopher Phillips <[email protected]>
  • Loading branch information
spiffcs committed Apr 26, 2024
1 parent bb8d07b commit b06f587
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/relationship/binary/relationship_index.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ func (i *relationshipIndex) track(r artifact.Relationship) bool {
}

// add a new relationship to the index, returning true if the relationship is new to the index, false otherwise (thus is a duplicate).
// nolint:unparam
func (i *relationshipIndex) add(r artifact.Relationship) bool {
if !i.track(r) {
i.additional = append(i.additional, r)
Expand Down

0 comments on commit b06f587

Please sign in to comment.