Skip to content

Commit b0cb47b

Browse files
Update src/core/Cline.ts
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
1 parent fc82873 commit b0cb47b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/Cline.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2341,7 +2341,7 @@ export class Cline extends EventEmitter<ClineEvents> {
23412341
isFileTruncated = true
23422342

23432343
const res = await Promise.all([
2344-
maxReadFileLine > 0 ? readLines(absolutePath, maxReadFileLine - 1, 0) : "",
2344+
maxReadFileLine > 0 ? readLines(absolutePath, maxReadFileLine - 1, 0) : [],
23452345
parseSourceCodeDefinitionsForFile(absolutePath, this.rooIgnoreController),
23462346
])
23472347

0 commit comments

Comments
 (0)