Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion sca/bom/buildinfo/technologies/cocoapods/cocoapods.go
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ func BuildDependencyTree(params technologies.BuildInfoBomGeneratorParams) (depen

// Parse the dependencies into a Xray dependency tree format
func parsePodDependenciesList(currNode *xrayUtils.GraphNode, dependenciesGraph map[string][]string, versionMap map[string]string, uniqueDepsSet *datastructures.Set[string]) {
if currNode.NodeHasLoop() {
if currNode.NodeHasLoop() || uniqueDepsSet.Exists(currNode.Id) {
return
}
uniqueDepsSet.Add(currNode.Id)
Expand Down
Loading