Skip to content

Commit 1ee7cfd

Browse files
committed
fix(read_file): change return to continue on approval rejection in readFileTool
1 parent fae5a37 commit 1ee7cfd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/tools/readFileTool.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ export async function readFileTool(
157157

158158
const didApprove = await askApproval("tool", completeMessage)
159159
if (!didApprove) {
160-
return
160+
continue
161161
}
162162

163163
// Process file content

0 commit comments

Comments
 (0)