mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-07-21 15:31:13 -07:00
Unused error variables in catch block are not allowed (#24487)
This commit is contained in:
@@ -319,7 +319,7 @@ export function useAtCompletion(props: UseAtCompletionProps): void {
|
||||
if (state.pattern !== null) {
|
||||
dispatch({ type: 'SEARCH', payload: state.pattern });
|
||||
}
|
||||
} catch (_) {
|
||||
} catch {
|
||||
if (initEpoch.current === currentEpoch) {
|
||||
dispatch({ type: 'ERROR' });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user