add debugging output for now

This commit is contained in:
Jeff Carr 2024-03-09 22:02:53 -06:00
parent 06904e1158
commit 8c415947df
1 changed files with 2 additions and 0 deletions

View File

@ -205,10 +205,12 @@ func (rl *RepoList) MakeGoWork() error {
if repo.Status.GoPath() == "" {
// skip repos that aren't go
// todo: handle non-flat repos?
log.Info("SKIPPED REPO", repo.Status.Path())
continue
}
if repo.Status.Exists("go.mod") {
fmt.Fprintln(f, "\t"+repo.Status.GoPath())
log.Info("ADDING REPO", goSrcDir, repo.Status.GoPath())
} else {
log.Log(REPO, "missing go.mod for", repo.Status.Path())
// repo.Status.MakeRedomod()