summaryrefslogtreecommitdiff
path: root/init.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-22 11:27:03 -0500
committerJeff Carr <[email protected]>2025-10-22 11:27:03 -0500
commit0c62ded7e96902a88f293cbabb9ba5292025549a (patch)
tree4a3603cdd3dd80fe3bd2219829a46aaff5729a46 /init.go
parent6f89cb8430af190d29f897f11841d858d6535e98 (diff)
oops. haven't been testing building thesev0.22.47
Diffstat (limited to 'init.go')
-rw-r--r--init.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/init.go b/init.go
index 0f0a3e7..35c6aa4 100644
--- a/init.go
+++ b/init.go
@@ -60,7 +60,7 @@ func New() *TreeInfo {
}
func (t *TreeInfo) ConfigFind(n string) (string, error) {
- all := t.config.All() // get the list of repos
+ all := t.config.All()
for all.Scan() {
r := all.Next()
if t.PluginName != r.Plugin {
@@ -76,7 +76,7 @@ func (t *TreeInfo) ConfigFind(n string) (string, error) {
func (t *TreeInfo) ConfigSave(newopt *ToolkitConfig) {
t.configInsert(newopt)
- config.ConfigSave(t.config)
+ config.Save(t.config)
}
// update the config option value (or append if new record)