diff options
| author | Jeff Carr <[email protected]> | 2025-10-20 13:19:24 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-20 13:19:24 -0500 |
| commit | 898592febc56eb1073525636666063396d85aca6 (patch) | |
| tree | 507d33eefc9ba5d467c2c5ce829bdd13968f92e8 /defaultBehavior.go | |
| parent | 3246e9b1f7ba7b983ca536f06d1dbbb636d1ad5b (diff) | |
notsure
Diffstat (limited to 'defaultBehavior.go')
| -rw-r--r-- | defaultBehavior.go | 4 |
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 { |
