summaryrefslogtreecommitdiff
path: root/findNext.go
diff options
context:
space:
mode:
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() {