nil check

This commit is contained in:
Jeff Carr 2025-02-09 14:50:08 -06:00
parent 8d33a63e7e
commit 973032af1c
1 changed files with 3 additions and 0 deletions

View File

@ -199,6 +199,9 @@ func setCurrentRepo(check *gitpb.Repo, s string, note string) bool {
} }
func testGoDepsCheckOk(godeps *gitpb.GoDeps, verbose bool) error { func testGoDepsCheckOk(godeps *gitpb.GoDeps, verbose bool) error {
if godeps == nil {
return nil
}
all := godeps.SortByGoPath() all := godeps.SortByGoPath()
for all.Scan() { for all.Scan() {
depRepo := all.Next() depRepo := all.Next()