Add missing awaits on refactored tools (#2078)

This commit is contained in:
Matt Rubens 2025-03-29 01:05:06 -04:00 committed by GitHub
parent cbe7075f4f
commit bedb7de72b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2255,12 +2255,12 @@ export class Cline extends EventEmitter<ClineEvents> {
}
case "read_file": {
readFileTool(this, block, askApproval, handleError, pushToolResult, removeClosingTag)
await readFileTool(this, block, askApproval, handleError, pushToolResult, removeClosingTag)
break
}
case "fetch_instructions": {
fetchInstructionsTool(this, block, askApproval, handleError, pushToolResult)
await fetchInstructionsTool(this, block, askApproval, handleError, pushToolResult)
break
}