Code development platform for open source projects from the European Union institutions :large_blue_circle: EU Login authentication by SMS will be completely phased out by mid-2025. To see alternatives please check here

Skip to content
Snippets Groups Projects
Commit 4f9ffa6f authored by Markus Quaritsch's avatar Markus Quaritsch
Browse files

formatting of generated xml

parent cf12bebb
No related branches found
No related tags found
No related merge requests found
......@@ -116,10 +116,15 @@ hashingcmd.exe
if (key.KeyChar == 'n') {
return;
}
WriteLine("overwriting file " + Path.GetFileNameWithoutExtension(filename) + "_hashed.xml");
WriteLine("overwriting file " + Path.GetFileName(destination));
} else {
WriteLine("creating file " + Path.GetFileName(destination));
}
var result = h.AddHash();
var writer = new XmlTextWriter(destination, Encoding.UTF8);
var writer = new XmlTextWriter(destination, Encoding.UTF8) {
Formatting = Formatting.Indented,
Indentation = 4
};
result.WriteTo(writer);
writer.Flush();
writer.Close();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment