diff options
| author | Jeff Carr <[email protected]> | 2025-10-19 12:57:35 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-19 12:57:35 -0500 |
| commit | 2ecc340541f88d4c1cbe437efe79a6fcfdbf5499 (patch) | |
| tree | 3bb2366d908132d9270df2f67a913bc2268bcaf5 /config.go | |
| parent | 5a8bc9367e17e4e03be389a8896a93ed8d4c93c1 (diff) | |
change func namev0.0.187
Diffstat (limited to 'config.go')
| -rw-r--r-- | config.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) |
