summaryrefslogtreecommitdiff
path: root/subCommand.go
diff options
context:
space:
mode:
Diffstat (limited to 'subCommand.go')
-rw-r--r--subCommand.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/subCommand.go b/subCommand.go
index 556fd57..c29214f 100644
--- a/subCommand.go
+++ b/subCommand.go
@@ -5,7 +5,6 @@ package main
import (
"go.wit.com/lib/gui/shell"
- "go.wit.com/lib/protobuf/forgepb"
"go.wit.com/log"
)
@@ -50,7 +49,7 @@ func doSubcommand() (string, error) {
}
if argv.Normal != nil {
- if me.forge.Mode == forgepb.ForgeMode_NORMAL {
+ if me.forge.IsModeNormal() {
s, err = doNormalAll()
} else {
// attempt to switch into Normal mode