diff options
| author | Dax Raad <[email protected]> | 2025-05-29 15:16:42 -0400 |
|---|---|---|
| committer | Dax Raad <[email protected]> | 2025-05-29 15:16:42 -0400 |
| commit | d0ad09d7982da1b543835983bfb1cab6e0d6df2a (patch) | |
| tree | 3cc7bae20ace0eec3a6484be45d55444dc659840 /js/src/tool | |
| parent | 4fa4246c106ba32fa097211205bb900890c95416 (diff) | |
| download | opencode-d0ad09d7982da1b543835983bfb1cab6e0d6df2a.tar.gz opencode-d0ad09d7982da1b543835983bfb1cab6e0d6df2a.zip | |
Improve async share handling and enhance diagnostic output with filenames
🤖 Generated with opencode
Co-Authored-By: opencode <[email protected]>
Diffstat (limited to 'js/src/tool')
| -rw-r--r-- | js/src/tool/edit.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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<file_diagnostics>\n${issues.map(LSP.Diagnostic.pretty).join("\n")}\n</file_diagnostics>\n`; continue; } - output += `\n<project_diagnostics>\n${issues.map(LSP.Diagnostic.pretty).join("\n")}\n</project_diagnostics>\n`; + output += `\n<project_diagnostics>\n${file}\n${issues.map(LSP.Diagnostic.pretty).join("\n")}\n</project_diagnostics>\n`; } return { |
