summaryrefslogtreecommitdiff
path: root/doDev.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-06 05:22:08 -0500
committerJeff Carr <[email protected]>2025-10-06 05:22:08 -0500
commit49bd96d0afa715d54343530de9bd3a9c193d1ecc (patch)
tree293d53dbec27af15f5429441aae08b031a2af2b9 /doDev.go
parentf9fca489b2cd4ce85d7030951c3ab7f2d84f206f (diff)
just box --fix
Diffstat (limited to 'doDev.go')
-rw-r--r--doDev.go8
1 files changed, 5 insertions, 3 deletions
diff --git a/doDev.go b/doDev.go
index 54ee5cf..843e4a5 100644
--- a/doDev.go
+++ b/doDev.go
@@ -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)
}