mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-18 17:20:38 -07:00
Unused error variables in catch block are not allowed (#24487)
This commit is contained in:
@@ -483,7 +483,7 @@ export function parseBashCommandDetails(
|
||||
'Syntax Errors:',
|
||||
syntaxErrors,
|
||||
);
|
||||
} catch (_e) {
|
||||
} catch {
|
||||
// Ignore query errors
|
||||
} finally {
|
||||
query?.delete();
|
||||
@@ -945,7 +945,7 @@ export async function* execStreaming(
|
||||
if (!finished && child.exitCode === null && !child.killed) {
|
||||
try {
|
||||
child.kill();
|
||||
} catch (_e) {
|
||||
} catch {
|
||||
// ignore error if process is already dead
|
||||
}
|
||||
killedByGenerator = true;
|
||||
|
||||
Reference in New Issue
Block a user