From 01b332ceb81945ae5a5cb2b1677ab985723dc75e Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sun, 15 Dec 2024 15:53:08 -0600 Subject: all of this code still sucks --- goDep.parseGoSum.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'goDep.parseGoSum.go') 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 } -- cgit v1.2.3