mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-14 13:53:02 -07:00
Disallow and suppress unsafe assignment (#19736)
This commit is contained in:
committed by
GitHub
parent
b746524a1b
commit
58d637f919
@@ -23,6 +23,7 @@ export async function readStdin(): Promise<string> {
|
||||
|
||||
const onReadable = () => {
|
||||
let chunk;
|
||||
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
||||
while ((chunk = process.stdin.read()) !== null) {
|
||||
if (pipedInputTimerId) {
|
||||
clearTimeout(pipedInputTimerId);
|
||||
|
||||
Reference in New Issue
Block a user