diff options
| -rw-r--r-- | doDev.go | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -27,9 +27,11 @@ func doDev() (string, error) { } found.Repos = append(found.Repos, repo) if !repo.IsMasterBranch() { - log.Info("you just be in the master branch") - repo.State = "needs master branch" - continue + if argv.Fix { + log.Info("you just be in the master branch to run --fix") + repo.State = "needs master branch" + continue + } } doFixDeleteUserBranches(repo, uremoteref) } |
