on main help sign in
remove unnecessary var
292e9d9Kujtim Hoxha
internal/llm/prompt/prompt.go+1−5
@@ -90,13 +90,9 @@ func processContextPaths(workDir string, paths []string) string {
90 close(resultCh)
90 close(resultCh)
91 }()
91 }()
92
92
93− var (
94− results = make([]string, 0)
93+ results := make([]string, 0)
95− i int
96− )
97 for result := range resultCh {
94 for result := range resultCh {
98 results = append(results, result)
95 results = append(results, result)
99− i++
100 }
96 }
101
97
102 return strings.Join(results, "\n")
98 return strings.Join(results, "\n")