summaryrefslogtreecommitdiff
path: root/findNext.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-02-09 14:50:08 -0600
committerJeff Carr <[email protected]>2025-02-09 14:50:08 -0600
commit973032af1c201db84c981461e5bf9b876fd928e5 (patch)
tree2abd8a1079e367ffd7bb35300b589b8a0fd15566 /findNext.go
parent8d33a63e7e5d8365121a6eff7231f5a4e615ac3a (diff)
nil check
Diffstat (limited to 'findNext.go')
-rw-r--r--findNext.go3
1 files changed, 3 insertions, 0 deletions
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()