nil check
This commit is contained in:
parent
8d33a63e7e
commit
973032af1c
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue