refactor: migrate checks.ts utility to core and deduplicate (#18139)

This commit is contained in:
Jerop Kipruto
2026-02-02 19:32:13 -05:00
committed by GitHub
parent c159c85c89
commit 09beb648b8
11 changed files with 17 additions and 18 deletions
@@ -21,7 +21,7 @@ import type { SelectionListItem } from '../hooks/useSelectionList.js';
import { TabHeader, type Tab } from './shared/TabHeader.js';
import { useKeypress, type Key } from '../hooks/useKeypress.js';
import { keyMatchers, Command } from '../keyMatchers.js';
import { checkExhaustive } from '../../utils/checks.js';
import { checkExhaustive } from '@google/gemini-cli-core';
import { TextInput } from './shared/TextInput.js';
import { useTextBuffer } from './shared/text-buffer.js';
import { getCachedStringWidth } from '../utils/textUtils.js';