Skip to content

Commit d9a1ef6

Browse files
committed
fix-cline-conflict
1 parent 115efcc commit d9a1ef6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/core/Cline.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1031,7 +1031,9 @@ export class Cline extends EventEmitter<ClineEvents> {
10311031
// either truncate or summarize the conversation history based on settings.
10321032
if (previousApiReqIndex >= 0) {
10331033
const previousRequest = this.clineMessages[previousApiReqIndex]?.text
1034-
if (!previousRequest) return // Should not happen, but guard anyway
1034+
if (!previousRequest) {
1035+
return // Should not happen, but guard anyway
1036+
}
10351037

10361038
const {
10371039
// These tokens are from the *previous* request's response, not the current history size

0 commit comments

Comments
 (0)