mirror of
https://github.com/aljazceru/opencode.git
synced 2026-01-03 16:05:00 +01:00
remove unnecessary var
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user