Make sure to add a new line at the end of XML files

This commit is contained in:
Hao Nguyen 2018-12-14 15:10:11 -08:00
parent 9349e23827
commit 4b02f652e0
7 changed files with 7 additions and 6 deletions

View File

@ -36,4 +36,4 @@
<file src="Google.Protobuf.Tools.targets" target="buildCrossTargeting"/>
<file src="Google.Protobuf.Tools.targets" target="build"/>
</files>
</package>
</package>

View File

@ -33,4 +33,4 @@
<PackageReference Include="SourceLink.Create.CommandLine" PrivateAssets="All" Version="2.7.6"/>
</ItemGroup>
</Project>
</Project>

View File

@ -154,4 +154,4 @@
</plugins>
</build>
</project>
</project>

View File

@ -216,4 +216,4 @@
<module>util</module>
</modules>
</project>
</project>

View File

@ -126,4 +126,4 @@
</plugin>
</plugins>
</build>
</project>
</project>

View File

@ -131,4 +131,4 @@
</build>
</profile>
</profiles>
</project>
</project>

View File

@ -53,6 +53,7 @@ def RewriteXml(filename, rewriter, add_xml_prefix=True):
if add_xml_prefix:
file_handle.write('<?xml version="1.0" encoding="UTF-8"?>\n')
file_handle.write(content)
file_handle.write('\n')
file_handle.close()