summaryrefslogtreecommitdiff
path: root/doClean.go
diff options
context:
space:
mode:
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
}
}