mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 16:30:57 +00:00
refactor(lint): enable map spread rule
This commit is contained in:
@@ -110,7 +110,7 @@ function cleanBlocksForInsert(blocks: FeishuDocxBlock[]): {
|
||||
.map((block) => {
|
||||
if (block.block_type === 31 && block.table?.merge_info) {
|
||||
const { merge_info: _merge_info, ...tableRest } = block.table;
|
||||
return { ...block, table: tableRest };
|
||||
return Object.assign({}, block, { table: tableRest });
|
||||
}
|
||||
return block;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user