Fix regression in `do_completion` changes (#27396)

Caused by #27313

Release Notes:

- N/A
10c04afc81João Marcos committed on 3/24/2025, 9:53:03 PM· committed by GitHubparent920eda0
1 file changedLine totals unavailable