summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--clone.go9
1 files changed, 3 insertions, 6 deletions
diff --git a/clone.go b/clone.go
index e09ffbe..40fa016 100644
--- a/clone.go
+++ b/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