The open source coding agent.
TypeScript
ignore: reword
Aiden Cline5a0228897bc0
diff --git a/packages/opencode/src/tool/edit.ts b/packages/opencode/src/tool/edit.tsindex c35f8969713..c993c5fbf18 100644--- a/packages/opencode/src/tool/edit.ts+++ b/packages/opencode/src/tool/edit.ts@@ -621,6 +621,6 @@ export function replace(content: string, oldString: string, newString: string, rthrow new Error("oldString not found in content")}throw new Error(- "Found multiple matches for oldString. Include more surrounding code lines in oldString to uniquely identify which occurrence to replace.",+ "Found multiple matches for oldString. Provide more surrounding lines in oldString to identify the correct match.",)}