mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-07-19 14:30:52 -07:00
Unused error variables in catch block are not allowed (#24487)
This commit is contained in:
@@ -52,7 +52,7 @@ const homeDirectoryCheck: WarningCheck = {
|
||||
return 'Warning you are running Gemini CLI in your home directory.\nThis warning can be disabled in /settings';
|
||||
}
|
||||
return null;
|
||||
} catch (_err: unknown) {
|
||||
} catch {
|
||||
return 'Could not verify the current directory due to a file system error.';
|
||||
}
|
||||
},
|
||||
@@ -73,7 +73,7 @@ const rootDirectoryCheck: WarningCheck = {
|
||||
}
|
||||
|
||||
return null;
|
||||
} catch (_err: unknown) {
|
||||
} catch {
|
||||
return 'Could not verify the current directory due to a file system error.';
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user