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

View File

@@ -19,7 +19,7 @@ import {
findWordEndInLine,
} from './text-buffer.js';
import { cpLen, toCodePoints } from '../../utils/textUtils.js';
import { assumeExhaustive } from '../../../utils/checks.js';
import { assumeExhaustive } from '@google/gemini-cli-core';
// Check if we're at the end of a base word (on the last base character)
// Returns true if current position has a base character followed only by combining marks until non-word