Skip to content

Commit 3ea6440

Browse files
committed
Add missing awaits on refactored tools
1 parent cbe7075 commit 3ea6440

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/core/Cline.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2255,12 +2255,12 @@ export class Cline extends EventEmitter<ClineEvents> {
22552255
}
22562256

22572257
case "read_file": {
2258-
readFileTool(this, block, askApproval, handleError, pushToolResult, removeClosingTag)
2258+
await readFileTool(this, block, askApproval, handleError, pushToolResult, removeClosingTag)
22592259
break
22602260
}
22612261

22622262
case "fetch_instructions": {
2263-
fetchInstructionsTool(this, block, askApproval, handleError, pushToolResult)
2263+
await fetchInstructionsTool(this, block, askApproval, handleError, pushToolResult)
22642264
break
22652265
}
22662266

0 commit comments

Comments
 (0)