diff options
| author | Taylor Mullen <[email protected]> | 2025-05-25 13:15:12 -0700 |
|---|---|---|
| committer | N. Taylor Mullen <[email protected]> | 2025-05-25 13:18:07 -0700 |
| commit | fa4a04157f25556642a0d5b7d15f4ae52ba55e27 (patch) | |
| tree | 4d57178f4f285ca2fde8fb840c45c04c7b580a05 /packages/cli/src/ui/hooks/useLoadingIndicator.test.ts | |
| parent | 068b505d5e34478e6d41a2d58d8c1a0ed7001a88 (diff) | |
refactor: Improve editCorrector logic and type safety
- Refactor `ensureCorrectEdit` to clarify the correction flow for `old_string` and `new_string`.
- Only correct `new_string` if it was potentially escaped; otherwise, use the original.
- Introduce `CorrectedEditParams` and `CorrectedEditResult` interfaces for better type definition.
- Relocate `countOccurrences` for better logical grouping.
Part of https://github.com/google-gemini/gemini-cli/issues/484
Diffstat (limited to 'packages/cli/src/ui/hooks/useLoadingIndicator.test.ts')
0 files changed, 0 insertions, 0 deletions
