From b32f730a978d5dfca559de16974c0be84f4ecbd0 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Fri, 17 Oct 2025 12:38:19 -0500 Subject: change over to argvpb --- config.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config.go b/config.go index 0858045..267a24c 100644 --- a/config.go +++ b/config.go @@ -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) -- cgit v1.2.3