diff options
Diffstat (limited to 'doPull.go')
| -rw-r--r-- | doPull.go | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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()) } |
