mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-04 15:59:08 -04:00
formatter: Ensure the file ends with one newline
This commit is contained in:
parent
703e2626dd
commit
d39257cabf
1 changed files with 1 additions and 1 deletions
|
@ -225,4 +225,4 @@ class Formatter:
|
||||||
|
|
||||||
last_not_whitespace = item
|
last_not_whitespace = item
|
||||||
|
|
||||||
return end_str
|
return end_str.strip() + "\n"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue