Commit 4b02f652 authored by Hao Nguyen's avatar Hao Nguyen

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

parent 9349e238
...@@ -36,4 +36,4 @@ ...@@ -36,4 +36,4 @@
<file src="Google.Protobuf.Tools.targets" target="buildCrossTargeting"/> <file src="Google.Protobuf.Tools.targets" target="buildCrossTargeting"/>
<file src="Google.Protobuf.Tools.targets" target="build"/> <file src="Google.Protobuf.Tools.targets" target="build"/>
</files> </files>
</package> </package>
\ No newline at end of file
...@@ -33,4 +33,4 @@ ...@@ -33,4 +33,4 @@
<PackageReference Include="SourceLink.Create.CommandLine" PrivateAssets="All" Version="2.7.6"/> <PackageReference Include="SourceLink.Create.CommandLine" PrivateAssets="All" Version="2.7.6"/>
</ItemGroup> </ItemGroup>
</Project> </Project>
\ No newline at end of file
...@@ -154,4 +154,4 @@ ...@@ -154,4 +154,4 @@
</plugins> </plugins>
</build> </build>
</project> </project>
\ No newline at end of file
...@@ -216,4 +216,4 @@ ...@@ -216,4 +216,4 @@
<module>util</module> <module>util</module>
</modules> </modules>
</project> </project>
\ No newline at end of file
...@@ -126,4 +126,4 @@ ...@@ -126,4 +126,4 @@
</plugin> </plugin>
</plugins> </plugins>
</build> </build>
</project> </project>
\ No newline at end of file
...@@ -131,4 +131,4 @@ ...@@ -131,4 +131,4 @@
</build> </build>
</profile> </profile>
</profiles> </profiles>
</project> </project>
\ No newline at end of file
...@@ -53,6 +53,7 @@ def RewriteXml(filename, rewriter, add_xml_prefix=True): ...@@ -53,6 +53,7 @@ def RewriteXml(filename, rewriter, add_xml_prefix=True):
if add_xml_prefix: if add_xml_prefix:
file_handle.write('<?xml version="1.0" encoding="UTF-8"?>\n') file_handle.write('<?xml version="1.0" encoding="UTF-8"?>\n')
file_handle.write(content) file_handle.write(content)
file_handle.write('\n')
file_handle.close() file_handle.close()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment