Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
Signed-off-by: Ziv Nevo <[email protected]>
  • Loading branch information
zivnevo committed Nov 11, 2024
1 parent b36bef3 commit ae72bec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/drawio/nodesRelations.go
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ func tnRelations(network TreeNodeInterface) map[TreeNodeInterface][]TreeNodeInte
// each node related to a line get all the other nodes:
lineRelations := lineRelation(info)
for _, relatedTn := range lineRelations {
res[relatedTn] = append(res[relatedTn], lineRelations...)
res[relatedTn] = append(res[relatedTn], lineRelations...) //nolint:gocritic // false positive
}
}

Expand Down

0 comments on commit ae72bec

Please sign in to comment.