Skip to content

Commit

Permalink
update: gradle scan dep exists
Browse files Browse the repository at this point in the history
  • Loading branch information
hj committed Apr 8, 2024
1 parent 4c2f606 commit c618285
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion opensca/sca/groovy/gradle.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,9 @@ func GradleTree(ctx context.Context, dir *model.File) []*model.DepGraph {
if dep == nil {
continue
}
dep.Expand = c
if dep.Expand != nil {
dep.Expand = c
}
n.AppendChild(dep)
}
return true
Expand Down

0 comments on commit c618285

Please sign in to comment.