diff options
| author | Jeff Carr <[email protected]> | 2025-10-17 12:38:19 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-17 12:38:19 -0500 |
| commit | b32f730a978d5dfca559de16974c0be84f4ecbd0 (patch) | |
| tree | f837e9f48ba9ebb15d2fb0211375389497b1d56e /config.go | |
| parent | 06c64e9cf708abc6b53cfcaef8c335dc69a4203d (diff) | |
change over to argvpb
Diffstat (limited to 'config.go')
| -rw-r--r-- | config.go | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -9,7 +9,7 @@ import ( "path/filepath" "go.wit.com/lib/config" - "go.wit.com/lib/gui/prep" + "go.wit.com/lib/protobuf/argvpb" "go.wit.com/log" ) @@ -25,7 +25,7 @@ func (f *Forge) ConfigSave() error { // only let forge edit & save the config files // inforce this in lib config? - if !(prep.AppName() == "forge" || prep.AppName() == "guireleaser") { + if !(argvpb.AppName() == "forge" || argvpb.AppName() == "guireleaser") { log.Info("This is not forge") return log.Errorf("Only forge can save the forge config file") } @@ -41,7 +41,7 @@ func (f *Forge) ConfigSave() error { // todo: deprecate this // fc.GoPath = "" // I want to do this but it might be a bad idea at this point } - log.Info("Okay, this is", prep.AppName()) + log.Info("Okay, this is", argvpb.AppName()) if err := f.Config.ConfigSave(); err != nil { log.Info("forge.Config.ConfigSave() error", err) |
