summaryrefslogtreecommitdiff
path: root/doClean.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-08-31 12:16:38 -0500
committerJeff Carr <[email protected]>2025-08-31 12:16:38 -0500
commitc4252d21031ed432405be6a4f008831732068101 (patch)
tree35853d100781756ea826e6e44d2a61340faaa911 /doClean.go
parent9292eb18fa1ccec8229c3182c2dcbeab03d09e58 (diff)
maybe locks will work. maybe I can make a global repos.pb file?
Diffstat (limited to 'doClean.go')
-rw-r--r--doClean.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/doClean.go b/doClean.go
index 42d2f4a..51230c6 100644
--- a/doClean.go
+++ b/doClean.go
@@ -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
}
}