summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.go6
1 files 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)