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 {
|
||||
makeValidGoSum(check)
|
||||
}
|
||||
if check.GetGoPrimitive() {
|
||||
// go primitive repos are "pure"
|
||||
log.Info("repo is primitive", check.GetGoPath())
|
||||
return nil
|
||||
}
|
||||
|
||||
check.Reload()
|
||||
|
||||
if check.GoDeps == nil {
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue