mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-10 14:10:37 -07:00
Disallow and suppress unsafe assignment (#19736)
This commit is contained in:
committed by
GitHub
parent
b746524a1b
commit
58d637f919
@@ -260,6 +260,7 @@ export class DevTools extends EventEmitter {
|
||||
|
||||
ws.on('message', (data: Buffer) => {
|
||||
try {
|
||||
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
||||
const message = JSON.parse(data.toString());
|
||||
|
||||
// Handle registration first
|
||||
|
||||
Reference in New Issue
Block a user