We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f3a94d commit 2b4441aCopy full SHA for 2b4441a
internal/llm/prompt/prompt.go
@@ -91,11 +91,11 @@ func processContextPaths(workDir string, paths []string) string {
91
}()
92
93
var (
94
- results = make([]string, len(resultCh))
+ results = make([]string, 0)
95
i int
96
)
97
for result := range resultCh {
98
- results[i] = result
+ results = append(results, result)
99
i++
100
}
101
@@ -108,4 +108,5 @@ func processFile(filePath string) string {
108
return ""
109
110
return "# From:" + filePath + "\n" + string(content)
111
-}
+}
112
+
0 commit comments