mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-18 20:09:18 +00:00
prettifier: add newline to end of file
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/17480
This commit is contained in:
parent
0fab12f367
commit
5318001726
@ -229,6 +229,9 @@ void Prettify( std::string& aSource, char aQuoteChar )
|
||||
++cursor;
|
||||
}
|
||||
|
||||
// newline required at end of line / file for POSIX compliance. Keeps git diffs clean.
|
||||
formatted += '\n';
|
||||
|
||||
aSource = std::move( formatted );
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user