summaryrefslogtreecommitdiff
path: root/goDep.parseGoSum.go
diff options
context:
space:
mode:
Diffstat (limited to 'goDep.parseGoSum.go')
-rw-r--r--goDep.parseGoSum.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/goDep.parseGoSum.go b/goDep.parseGoSum.go
index 5bf3f29..e275f0e 100644
--- a/goDep.parseGoSum.go
+++ b/goDep.parseGoSum.go
@@ -21,7 +21,7 @@ func (repo *Repo) ParseGoSum() (bool, error) {
// check of the repo is a primative
// that means, there is not a go.sum file
// because the package is completely self contained!
- if ok, _ := repo.IsPrimitive(); ok {
+ if err := repo.SetPrimitive(); err == nil {
log.Info("This repo is primative!")
return true, nil
}