diff options
| author | Jeff Carr <[email protected]> | 2025-01-19 18:02:24 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-01-19 18:02:24 -0600 |
| commit | eed26134fdb0ac7e49aaa14fed6d82abc34f34d3 (patch) | |
| tree | fc1306466b48eacdf2411229a13b099ccc8eb661 /doClean.go | |
| parent | 16f0b731c508759f542acddd7e302a9440ea02e2 (diff) | |
good griefv0.22.55
Diffstat (limited to 'doClean.go')
| -rw-r--r-- | doClean.go | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -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 |
