diff options
| author | Jeff Carr <[email protected]> | 2025-08-31 12:16:38 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-08-31 12:16:38 -0500 |
| commit | c4252d21031ed432405be6a4f008831732068101 (patch) | |
| tree | 35853d100781756ea826e6e44d2a61340faaa911 /doClean.go | |
| parent | 9292eb18fa1ccec8229c3182c2dcbeab03d09e58 (diff) | |
maybe locks will work. maybe I can make a global repos.pb file?
Diffstat (limited to 'doClean.go')
| -rw-r--r-- | doClean.go | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -55,25 +55,25 @@ func doClean() error { // find repos not on master branch if repo.GetCurrentBranchName() != repo.GetMasterBranchName() { - found.AppendByGoPath(repo) + found.AppendByFullPath(repo) continue } // find dirty repos if repo.IsDirty() { - found.AppendByGoPath(repo) + found.AppendByFullPath(repo) continue } // find repos that still have a local user branch if repo.IsLocalBranch(repo.GetUserBranchName()) { - found.AppendByGoPath(repo) + found.AppendByFullPath(repo) continue } // find repos that still have a local devel branch if repo.IsLocalBranch(repo.GetDevelBranchName()) { - found.AppendByGoPath(repo) + found.AppendByFullPath(repo) continue } } |
