mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-19 01:30:42 -07:00
Unused error variables in catch block are not allowed (#24487)
This commit is contained in:
@@ -88,7 +88,7 @@ export function getSystemEncoding(): string | null {
|
||||
locale = execSync('locale charmap', { encoding: 'utf8' })
|
||||
.toString()
|
||||
.trim();
|
||||
} catch (_e) {
|
||||
} catch {
|
||||
debugLogger.warn('Failed to get locale charmap.');
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user