diff options
| -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) |
