mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-03-30 05:43:55 +00:00
remove unnecessary var
This commit is contained in:
parent
2b4441a0d1
commit
292e9d90ca
@ -90,13 +90,9 @@ func processContextPaths(workDir string, paths []string) string {
|
||||
close(resultCh)
|
||||
}()
|
||||
|
||||
var (
|
||||
results = make([]string, 0)
|
||||
i int
|
||||
)
|
||||
results := make([]string, 0)
|
||||
for result := range resultCh {
|
||||
results = append(results, result)
|
||||
i++
|
||||
}
|
||||
|
||||
return strings.Join(results, "\n")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user