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