diff options
| -rw-r--r-- | doClean.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -508,7 +508,7 @@ func justDeleteTheDevelBranchAlready(repo *gitpb.Repo) error { remote := filepath.Join("origin", branch) // check against remote if it exists - if repo.Exists(filepath.Join(".git/refs/remotes", remote)) { + if repo.IsDevelRemote() { b1 := countGitDiffLog(repo, branch, remote) // should be zero if b1 == 0 { cmd := []string{"git", "branch", "-D", repo.GetDevelBranchName()} |
