summaryrefslogtreecommitdiff
path: root/config.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-21 13:43:24 -0500
committerJeff Carr <[email protected]>2025-10-21 13:43:24 -0500
commitf1e9fdedb2cf3af1f8db28b6afabaac220c7f9e9 (patch)
tree8aae962ccd96658591634d77ff87d4c3d5429090 /config.go
parent933b2e62463c5ddbe061e83c9a31135573b4f57b (diff)
try to isolate Load() and Save()
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 a0c0567..0a6d32b 100644
--- a/config.go
+++ b/config.go
@@ -19,11 +19,11 @@ func (f *Forge) SetMode(newmode ForgeMode) error {
f.mode = newmode
err := ENV.Set("mode", newmode.String())
if err != nil {
- panic("config.Set() doesn't work")
+ panic("ENV.Set() doesn't work")
}
err = ENV.Save()
if err != nil {
- panic("config.Save() doesn't work")
+ panic("ENV.Save() doesn't work")
}
return err
}