summaryrefslogtreecommitdiff
path: root/findNext.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-02-09 15:05:10 -0600
committerJeff Carr <[email protected]>2025-02-09 15:05:10 -0600
commit76c327b1f12c13a1c02c43422467a9da746b0046 (patch)
tree868f5d9bb200664a5a5bca8c688358524195727a /findNext.go
parent447b4ebd3b670813ca1ab8deab69461502de33db (diff)
send back an error on nilv0.23.44
Diffstat (limited to 'findNext.go')
-rw-r--r--findNext.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/findNext.go b/findNext.go
index 3ca289a..388336e 100644
--- a/findNext.go
+++ b/findNext.go
@@ -2,6 +2,7 @@
package main
import (
+ "errors"
"fmt"
"path/filepath"
@@ -200,7 +201,7 @@ func setCurrentRepo(check *gitpb.Repo, s string, note string) bool {
func testGoDepsCheckOk(godeps *gitpb.GoDeps, verbose bool) error {
if godeps == nil {
- return nil
+ return errors.New("testGoDepsCheckOk() godeps == nil")
}
all := godeps.SortByGoPath()
for all.Scan() {