summaryrefslogtreecommitdiff
path: root/goDep.parseGoSum.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-12-15 15:53:08 -0600
committerJeff Carr <[email protected]>2024-12-15 15:53:08 -0600
commit01b332ceb81945ae5a5cb2b1677ab985723dc75e (patch)
treeddb0d33495106e19df02e4e3aa40cd9381656fcf /goDep.parseGoSum.go
parent5006d718fd59a3ac964750bb7890c9e0e262811b (diff)
all of this code still sucksv0.0.31
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
}