mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Migrate to Serialization package
This commit is contained in:
@@ -157,7 +157,7 @@ namespace SabreTools.DatFiles.Formats
|
||||
logger.User($"Writing to '{outfile}'...");
|
||||
|
||||
var hashfile = CreateHashFile(ignoreblanks);
|
||||
if (!Serialization.Hashfile.SerializeToFile(hashfile, outfile, _hash))
|
||||
if (!(new Serialization.Files.Hashfile().Serialize(hashfile, outfile, _hash)))
|
||||
{
|
||||
logger.Warning($"File '{outfile}' could not be written! See the log for more details.");
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user