Skip to content

Commit 4a08ec6

Browse files
committed
Revert "update: gradle scan dep exists"
This reverts commit c618285.
1 parent ade8e50 commit 4a08ec6

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

opensca/sca/groovy/gradle.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -170,9 +170,7 @@ func GradleTree(ctx context.Context, dir *model.File) []*model.DepGraph {
170170
if dep == nil {
171171
continue
172172
}
173-
if dep.Expand != nil {
174-
dep.Expand = c
175-
}
173+
dep.Expand = c
176174
n.AppendChild(dep)
177175
}
178176
return true

0 commit comments

Comments
 (0)