Skip to content

Commit

Permalink
And is not or
Browse files Browse the repository at this point in the history
  • Loading branch information
lkarlslund committed Jan 10, 2024
1 parent 65d3dd7 commit dfbc9e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/analyze/analyzeobjects.go
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ func AnalyzeObjects(opts AnalyzeObjectsOptions) AnalysisResults {
Target: nextobject}] = detectededges
}

if currentRound != 1 && extrainfo[nextobject] == nil {
if currentRound != 1 || extrainfo[nextobject] == nil {
// First round is special, as we process the targets
// All the other rounds, we can assume that nextobjects are new in the graph
extrainfo[nextobject] = &GraphNode{
Expand Down

0 comments on commit dfbc9e3

Please sign in to comment.