mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-07-11 18:40:57 -07:00
Unused error variables in catch block are not allowed (#24487)
This commit is contained in:
@@ -60,7 +60,7 @@ export class IgnoreFileParser implements IgnoreFileFilter {
|
||||
let content: string;
|
||||
try {
|
||||
content = fs.readFileSync(patternsFilePath, 'utf-8');
|
||||
} catch (_error) {
|
||||
} catch {
|
||||
debugLogger.debug(
|
||||
`Ignore file not found: ${patternsFilePath}, continue without it.`,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user