mirror of
https://github.com/google-gemini/gemini-cli
synced 2026-04-21 13:37:17 +00:00
refactor(cli): remove unused coreEvents and cleanup type assertion in EditorSettingsDialog
This commit is contained in:
parent
2a67614b82
commit
b47ae4575d
1 changed files with 1 additions and 3 deletions
|
|
@ -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
|
||||
];
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue