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 fc82873 commit b0cb47bCopy full SHA for b0cb47b
src/core/Cline.ts
@@ -2341,7 +2341,7 @@ export class Cline extends EventEmitter<ClineEvents> {
2341
isFileTruncated = true
2342
2343
const res = await Promise.all([
2344
- maxReadFileLine > 0 ? readLines(absolutePath, maxReadFileLine - 1, 0) : "",
+ maxReadFileLine > 0 ? readLines(absolutePath, maxReadFileLine - 1, 0) : [],
2345
parseSourceCodeDefinitionsForFile(absolutePath, this.rooIgnoreController),
2346
])
2347
0 commit comments