From d0ad09d7982da1b543835983bfb1cab6e0d6df2a Mon Sep 17 00:00:00 2001 From: Dax Raad Date: Thu, 29 May 2025 15:16:42 -0400 Subject: Improve async share handling and enhance diagnostic output with filenames MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🤖 Generated with opencode Co-Authored-By: opencode --- js/src/tool/edit.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/src/tool') diff --git a/js/src/tool/edit.ts b/js/src/tool/edit.ts index 41ff60855..0fa10475b 100644 --- a/js/src/tool/edit.ts +++ b/js/src/tool/edit.ts @@ -123,7 +123,7 @@ export const edit = Tool.define({ output += `\nThis file has errors, please fix\n\n${issues.map(LSP.Diagnostic.pretty).join("\n")}\n\n`; continue; } - output += `\n\n${issues.map(LSP.Diagnostic.pretty).join("\n")}\n\n`; + output += `\n\n${file}\n${issues.map(LSP.Diagnostic.pretty).join("\n")}\n\n`; } return { -- cgit v1.2.3