cleanup(subagent): remove stale lint suppression

This commit is contained in:
pku-xht
2026-08-10 12:46:06 +08:00
parent b1d67a6935
commit 37aab00c24

View File

@@ -258,7 +258,6 @@ export async function startClaudeCodeRun(
)
}
}
// oxlint-disable-next-line typescript/no-unnecessary-condition -- the request can abort while process cleanup is awaited.
if (cancelledBeforeCleanup || request.signal.aborted) {
throw new Error('subagent-claude-code: request was aborted before SDK startup')
}