mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-24 03:54:43 -07:00
Disallow and suppress misused spread operator. (#23294)
This commit is contained in:
committed by
GitHub
parent
e7b6326cfa
commit
8f391585ab
@@ -196,6 +196,7 @@ async function truncateHistoryToBudget(
|
||||
|
||||
newParts.unshift({
|
||||
functionResponse: {
|
||||
// eslint-disable-next-line @typescript-eslint/no-misused-spread
|
||||
...part.functionResponse,
|
||||
response: { output: truncatedMessage },
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user