summaryrefslogtreecommitdiff
path: root/defaultBehavior.go
diff options
context:
space:
mode:
Diffstat (limited to 'defaultBehavior.go')
-rw-r--r--defaultBehavior.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/defaultBehavior.go b/defaultBehavior.go
index 17c43b4..57e4dd6 100644
--- a/defaultBehavior.go
+++ b/defaultBehavior.go
@@ -12,7 +12,7 @@ import (
func doDefaultBehavior() (string, error) {
// DEFAULT BEHAVIOR CHANGES BETWEEN MODES
- if me.forge.Config.Mode == forgepb.ForgeMode_NORMAL || me.forge.Config.Mode == forgepb.ForgeMode_USER {
+ if me.forge.Mode == forgepb.ForgeMode_NORMAL || me.forge.Mode == forgepb.ForgeMode_USER {
// PROBABLY YOU ARE WRITING CODE
// got to the end with nothing to do (?)
found := findWorkRepos()
@@ -24,7 +24,7 @@ func doDefaultBehavior() (string, error) {
return "repos with unsaved changes: (list them all with --show) " + footer, nil
}
- if me.forge.Config.Mode == forgepb.ForgeMode_MASTER {
+ if me.forge.Mode == forgepb.ForgeMode_MASTER {
// PROBABLY YOU ARE PUBLISHING / MERGING CODE
err := defaultBehaviorMaster()
if err != nil {