Skip to content

Commit

Permalink
fix(gradle): skip backup scan if anything found
Browse files Browse the repository at this point in the history
  • Loading branch information
iseki0 committed Aug 9, 2024
1 parent 806ae58 commit 9194c7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion module/gradle/gradle.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ func (Inspector) InspectProject(ctx context.Context) error {
}
env.ScannerShouldEnableGradleBackupScan = true
for _, i := range rs {
if len(i.Dependencies) == 0 {
if len(i.Dependencies) != 0 {
env.ScannerShouldEnableGradleBackupScan = false
break
}
Expand Down

0 comments on commit 9194c7b

Please sign in to comment.