language: Don't add final newline on format for an empty buffer (#32320)

Closes #32313

Release Notes:

- Fixed newline getting added on format to empty files
8332e60ca9Evan Simkowitz committed on 6/9/2025, 1:00:17 PM· committed by GitHubparentafab4b5
1 file changedLine totals unavailable