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;
|
++cursor;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// newline required at end of line / file for POSIX compliance. Keeps git diffs clean.
|
||||||
|
formatted += '\n';
|
||||||
|
|
||||||
aSource = std::move( formatted );
|
aSource = std::move( formatted );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue