summaryrefslogtreecommitdiff
path: root/findConfig.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-12-11 19:32:04 -0600
committerJeff Carr <[email protected]>2024-12-11 19:32:04 -0600
commitada387b966b901055e87e5b7d7d4902246c4e69e (patch)
tree57a3ad70fbf6b91d06830d8efabe0f572d808855 /findConfig.go
parent353290ecb1ba1f84e55cbcc23233055a26f7208f (diff)
'all' seems more sensible than 'loop'
Diffstat (limited to 'findConfig.go')
-rw-r--r--findConfig.go12
1 files changed, 6 insertions, 6 deletions
diff --git a/findConfig.go b/findConfig.go
index efe6ee2..3586bad 100644
--- a/findConfig.go
+++ b/findConfig.go
@@ -22,9 +22,9 @@ func findConfig() bool {
// finds config repos that are writable
func findConfigMine() {
- loop := me.forge.Config.SortByGoPath()
- for loop.Scan() {
- r := loop.Next()
+ all := me.forge.Config.SortByGoPath()
+ for all.Scan() {
+ r := all.Next()
gopath := r.GoPath
if r.GetDirectory() {
continue
@@ -39,9 +39,9 @@ func findConfigMine() {
// get everything in your config
func findConfigAll() {
- loop := me.forge.Config.SortByGoPath()
- for loop.Scan() {
- r := loop.Next()
+ all := me.forge.Config.SortByGoPath()
+ for all.Scan() {
+ r := all.Next()
gopath := r.GoPath
if r.GetDirectory() {
continue