mirror of
https://github.com/claude-code-best/claude-code.git
synced 2026-06-18 06:15:51 +00:00
style: 完成所有文件的lint
This commit is contained in:
@@ -156,7 +156,9 @@ export async function* handleStopHooks(
|
||||
// but before gracefulShutdownSync (see drainPendingExtraction).
|
||||
void extractMemoriesModule!.executeExtractMemories(
|
||||
stopHookContext,
|
||||
toolUseContext.appendSystemMessage as ((msg: import('../types/message.js').SystemMessage) => void) | undefined,
|
||||
toolUseContext.appendSystemMessage as
|
||||
| ((msg: import('../types/message.js').SystemMessage) => void)
|
||||
| undefined,
|
||||
)
|
||||
}
|
||||
if (!toolUseContext.agentId && !poorMode) {
|
||||
@@ -231,7 +233,8 @@ export async function* handleStopHooks(
|
||||
) {
|
||||
if (attachment.type === 'hook_non_blocking_error') {
|
||||
hookErrors.push(
|
||||
(attachment.stderr as string) || `Exit code ${attachment.exitCode}`,
|
||||
(attachment.stderr as string) ||
|
||||
`Exit code ${attachment.exitCode}`,
|
||||
)
|
||||
// Non-blocking errors always have output
|
||||
hasOutput = true
|
||||
|
||||
Reference in New Issue
Block a user