refactor(cli): remove unused coreEvents and cleanup type assertion in EditorSettingsDialog

This commit is contained in:
Andrea Alberti 2026-04-10 19:21:03 +02:00
parent 2a67614b82
commit b47ae4575d
No known key found for this signature in database

View file

@ -22,7 +22,6 @@ import {
type EditorType,
isEditorAvailable,
EDITOR_DISPLAY_NAMES,
coreEvents,
} from '@google/gemini-cli-core';
import { useKeypress } from '../hooks/useKeypress.js';
@ -128,8 +127,7 @@ export function EditorSettingsDialog({
) {
mergedEditorName =
EDITOR_DISPLAY_NAMES[
// eslint-disable-next-line @typescript-eslint/no-unsafe-type-assertion
settings.merged.general.preferredEditor as EditorType
settings.merged.general.preferredEditor
];
}