fix: clean up final 16 no-unused-vars warnings (#22751)

This commit is contained in:
Kit Langton
2026-04-15 23:54:21 -04:00
committed by GitHub
parent bd29004831
commit 9f4b73b6a3
13 changed files with 8 additions and 37 deletions

View File

@@ -277,11 +277,10 @@ export namespace LLM {
}
const id = PermissionID.ascending()
let reply: Permission.Reply | undefined
let unsub: (() => void) | undefined
try {
unsub = Bus.subscribe(Permission.Event.Replied, (evt) => {
if (evt.properties.requestID === id) reply = evt.properties.reply
if (evt.properties.requestID === id) void evt.properties.reply
})
const toolPatterns = approvalTools.map((t: { name: string; args: string }) => {
try {