summaryrefslogtreecommitdiff
path: root/doPull.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-21 04:48:14 -0500
committerJeff Carr <[email protected]>2025-10-21 04:48:14 -0500
commit19cbfa7a819607e2602d48617ce9e96797fa6e1a (patch)
tree3ea6ba8804b4ad9b03c6a95e4f09e317dcf237dc /doPull.go
parent898592febc56eb1073525636666063396d85aca6 (diff)
trying to get this to run again
Diffstat (limited to 'doPull.go')
-rw-r--r--doPull.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/doPull.go b/doPull.go
index 4274abf..c043ede 100644
--- a/doPull.go
+++ b/doPull.go
@@ -8,7 +8,6 @@ import (
"time"
"go.wit.com/lib/cobol"
- "go.wit.com/lib/protobuf/forgepb"
"go.wit.com/lib/protobuf/gitpb"
"go.wit.com/log"
)
@@ -89,7 +88,7 @@ func doPull() (string, error) {
}
// below this, you must not be in 'normal' mode
- if me.forge.Mode == forgepb.ForgeMode_NORMAL {
+ if me.forge.IsModeNormal() {
s = "you must check out the devel or master branches"
return s, errors.New("wrong mode " + me.forge.GetMode())
}