From b00584213dbb59b4694c2b353fd1271465b9f2cf Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sat, 30 Nov 2024 02:02:59 -0600 Subject: [PATCH] moving things to gitpb --- common.go | 5 +++++ goConfig.go | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/common.go b/common.go index 658b770..0992341 100644 --- a/common.go +++ b/common.go @@ -177,6 +177,11 @@ func (rl *RepoList) TotalGo() int { return count } +func (rr *RepoRow) MakeRedoMod() error { + _, err := rr.pb.RedoGoMod() + return err +} + // very much a hack job func (rl *RepoList) MakeGoWork() error { goSrcDir := os.Getenv("REPO_WORK_PATH") diff --git a/goConfig.go b/goConfig.go index 4d3a5dc..29dba3d 100644 --- a/goConfig.go +++ b/goConfig.go @@ -13,7 +13,7 @@ import ( // sure the versions are correct when attempting to do a GUI release func (rl *RepoList) CheckValidGoSum(r *RepoRow) (bool, error) { log.Log(REPOWARN, "CheckValidGoSum() started") - ok, err := r.Status.MakeRedomod() + ok, err := r.pb.RedoGoMod() if !ok { log.Log(REPOWARN, "CheckValidGoSum() MakeRedomod() failed", err) return ok, err