diff options
| author | Jeff Carr <[email protected]> | 2025-11-02 08:58:56 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-11-02 08:58:56 -0600 |
| commit | ab7db21e07faac62f1abfb2b33634586979a0ded (patch) | |
| tree | 19a58f865c31be555f75b00cd213796ca542a4ee /cleanGoSum.go | |
| parent | 6fa3221e265933038342acb50caad3c2bbb6c136 (diff) | |
new gitpb/repo.protodevel
Diffstat (limited to 'cleanGoSum.go')
| -rw-r--r-- | cleanGoSum.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cleanGoSum.go b/cleanGoSum.go index d98fb56..e45fdc5 100644 --- a/cleanGoSum.go +++ b/cleanGoSum.go @@ -22,10 +22,10 @@ func (f *Forge) CleanGoDepsCheckOk(check *gitpb.Repo) error { var fixes [][]string log.Printf("%s repo go dependancy count: %d\n", check.GetGoPath(), check.GoDepsLen()) - if check.GoDeps == nil { + if check.GoInfo.GoDeps == nil { return errors.New("check.GoDeps == nil") } - all := check.GoDeps.SortByGoPath() + all := check.GoInfo.GoDeps.SortByGoPath() for all.Scan() { depRepo := all.Next() found := f.Repos.FindByNamespace(depRepo.GetGoPath()) |
