tinkering
This commit is contained in:
parent
c521620b04
commit
f078399929
9
clone.go
9
clone.go
|
@ -60,15 +60,12 @@ func recursiveClone(check *gitpb.Repo) error {
|
||||||
} else {
|
} else {
|
||||||
makeValidGoSum(check)
|
makeValidGoSum(check)
|
||||||
}
|
}
|
||||||
if check.GetGoPrimitive() {
|
|
||||||
// go primitive repos are "pure"
|
check.Reload()
|
||||||
log.Info("repo is primitive", check.GetGoPath())
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
|
|
||||||
if check.GoDeps == nil {
|
if check.GoDeps == nil {
|
||||||
log.Info("repo godeps == nil", check.GetGoPath())
|
log.Info("repo godeps == nil", check.GetGoPath())
|
||||||
return errors.New("go.sum is missing?")
|
return errors.New("no go deps?")
|
||||||
}
|
}
|
||||||
|
|
||||||
// probably this should never be 0 because GoPrimitive should have been true otherwise
|
// probably this should never be 0 because GoPrimitive should have been true otherwise
|
||||||
|
|
Loading…
Reference in New Issue