summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-07 05:52:15 -0500
committerJeff Carr <[email protected]>2025-10-07 05:52:15 -0500
commitb1eb4f229d32134fee1a4410a93a0bc76dca41a2 (patch)
tree86b3bfa63f2fbabed05abe38dd214dca8a4bc91e /main.go
parentb02a40d9888b6f4671cdde9cefdb16f163fb92c2 (diff)
fix normal modev0.25.66
Diffstat (limited to 'main.go')
-rw-r--r--main.go12
1 files changed, 9 insertions, 3 deletions
diff --git a/main.go b/main.go
index dabc4ad..20adbf0 100644
--- a/main.go
+++ b/main.go
@@ -115,12 +115,18 @@ func main() {
}
}
+ if argv.Normal != nil {
+ if s, err := doNormal(); err != nil {
+ me.sh.BadExit(s, err)
+ } else {
+ me.sh.GoodExit(s)
+ }
+ }
+
// if you are in "normal" mode, always run normal every time to catch accidental errors
// for example, if you accidentally changed branches from your user branch
if me.forge.Config.Mode == forgepb.ForgeMode_NORMAL {
- if doNormal() {
- log.Infof("all your %d repos are in a normal stete for development\n", me.forge.Repos.Len())
- }
+ doNormal()
}
if argv.Merge != nil {