fix(subagent): retain cancellation lint rationale
This commit is contained in:
@@ -258,6 +258,7 @@ 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) {
|
if (cancelledBeforeCleanup || request.signal.aborted) {
|
||||||
throw new Error('subagent-claude-code: request was aborted before SDK startup')
|
throw new Error('subagent-claude-code: request was aborted before SDK startup')
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user