good grief

This commit is contained in:
Jeff Carr 2025-01-19 18:02:24 -06:00
parent 16f0b731c5
commit eed26134fd
1 changed files with 9 additions and 9 deletions

View File

@ -32,18 +32,18 @@ func doClean() error {
}
func doCleanUser() error {
if _, count, err := IsEverythingOnMaster(); err != nil {
if count == 0 {
log.Info("No repos are on the master branch")
return nil
}
log.Info("Not all repos are on the master branch")
// return err
}
all := me.forge.Repos.SortByFullPath()
for all.Scan() {
repo := all.Next()
if _, count, err := IsEverythingOnMaster(); err != nil {
if count == 0 {
log.Info("No repos are on the master branch")
return nil
}
log.Info("Not all repos are on the master branch")
// return err
}
if err := doCleanUserRepo(repo); err != nil {
log.Info(repo.GetGoPath(), err)
return err