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

@@ -1297,7 +1297,7 @@ export const layer: Layer.Layer<
yield* Effect.promise(() => Npm.install(dir))
})
const installDependencies = Effect.fn("Config.installDependencies")(function* (dir: string, input?: InstallInput) {
const installDependencies = Effect.fn("Config.installDependencies")(function* (dir: string, _input?: InstallInput) {
if (
!(yield* fs.access(dir, { writable: true }).pipe(
Effect.as(true),

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 {