summaryrefslogtreecommitdiff
path: root/config.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-19 12:57:35 -0500
committerJeff Carr <[email protected]>2025-10-19 12:57:35 -0500
commit2ecc340541f88d4c1cbe437efe79a6fcfdbf5499 (patch)
tree3bb2366d908132d9270df2f67a913bc2268bcaf5 /config.go
parent5a8bc9367e17e4e03be389a8896a93ed8d4c93c1 (diff)
change func namev0.0.187
Diffstat (limited to 'config.go')
-rw-r--r--config.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/config.go b/config.go
index 267a24c..f3b5f05 100644
--- a/config.go
+++ b/config.go
@@ -25,7 +25,7 @@ func (f *Forge) ConfigSave() error {
// only let forge edit & save the config files
// inforce this in lib config?
- if !(argvpb.AppName() == "forge" || argvpb.AppName() == "guireleaser") {
+ if !(argvpb.GetAPPNAME() == "forge" || argvpb.GetAPPNAME() == "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", argvpb.AppName())
+ log.Info("Okay, this is", argvpb.GetAPPNAME())
if err := f.Config.ConfigSave(); err != nil {
log.Info("forge.Config.ConfigSave() error", err)