Skip to content

Commit

Permalink
fix static
Browse files Browse the repository at this point in the history
  • Loading branch information
attiasas committed Nov 24, 2024
1 parent 3dd89b1 commit 76b5f43
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scanrepository/scanrepository.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,11 +128,11 @@ func (cfp *ScanRepositoryCmd) scanAndFixBranch(repository *utils.Repository) (er
for i := range repository.Projects {
cfp.scanDetails.Project = &repository.Projects[i]
cfp.projectTech = []techutils.Technology{}
findings := 0
if findings, err = cfp.scanAndFixProject(repository); err != nil {
return
if findings, e := cfp.scanAndFixProject(repository); e != nil {
return e
} else {
totalFindings += findings
}
totalFindings += findings
}

return
Expand Down

0 comments on commit 76b5f43

Please sign in to comment.