From 973032af1c201db84c981461e5bf9b876fd928e5 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sun, 9 Feb 2025 14:50:08 -0600 Subject: [PATCH] nil check --- findNext.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/findNext.go b/findNext.go index 67e1759..3ca289a 100644 --- a/findNext.go +++ b/findNext.go @@ -199,6 +199,9 @@ func setCurrentRepo(check *gitpb.Repo, s string, note string) bool { } func testGoDepsCheckOk(godeps *gitpb.GoDeps, verbose bool) error { + if godeps == nil { + return nil + } all := godeps.SortByGoPath() for all.Scan() { depRepo := all.Next()