mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-23 11:34:44 -07:00
Disallow and suppress misused spread operator. (#23294)
This commit is contained in:
committed by
GitHub
parent
e7b6326cfa
commit
8f391585ab
@@ -37,6 +37,7 @@ export function applyAdminAllowlist(
|
||||
const adminConfig = adminAllowlist[serverId];
|
||||
if (adminConfig) {
|
||||
const mergedConfig = {
|
||||
// eslint-disable-next-line @typescript-eslint/no-misused-spread
|
||||
...localConfig,
|
||||
url: adminConfig.url,
|
||||
type: adminConfig.type,
|
||||
|
||||
Reference in New Issue
Block a user