mirror of
https://github.com/claude-code-best/claude-code.git
synced 2026-06-18 22:35:51 +00:00
style: 完成所有文件的lint
This commit is contained in:
@@ -80,7 +80,9 @@ export async function generateToolUseSummary({
|
||||
},
|
||||
})
|
||||
|
||||
const summary = (Array.isArray(response.message.content) ? response.message.content : [])
|
||||
const summary = (
|
||||
Array.isArray(response.message.content) ? response.message.content : []
|
||||
)
|
||||
.filter(block => block.type === 'text')
|
||||
.map(block => (block.type === 'text' ? block.text : ''))
|
||||
.join('')
|
||||
|
||||
Reference in New Issue
Block a user