feat: enable oxlint suspicious category, fix 24 violations (#22727)
publish-github-action / publish (push) Has been cancelled

This commit is contained in:
Kit Langton
2026-04-15 22:53:10 -04:00
committed by GitHub
parent 186907ef94
commit f53f31d33f
20 changed files with 49 additions and 22 deletions
+1 -1
View File
@@ -181,7 +181,7 @@ export const ReadTool = Tool.define(
)
}
let output = [`<path>${filepath}</path>`, `<type>file</type>`, "<content>" + "\n"].join("\n")
let output = [`<path>${filepath}</path>`, `<type>file</type>`, "<content>\n"].join("\n")
output += file.raw.map((line, i) => `${i + file.offset}: ${line}`).join("\n")
const last = file.offset + file.raw.length - 1