mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Create overloads for CreateDatFile
This commit is contained in:
@@ -90,7 +90,8 @@ namespace SabreTools.DatTools
|
||||
string outfile = outfiles[datFormat];
|
||||
try
|
||||
{
|
||||
DatFileTool.CreateDatFile(datFormat, datFile, quotes)?.WriteToFile(outfile, ignoreblanks, throwOnError);
|
||||
DatFile writingDatFile = DatFileTool.CreateDatFile(currentPathFormat, datFile, quotes);
|
||||
writingDatFile.WriteToFile(outfile, ignoreblanks, throwOnError);
|
||||
}
|
||||
catch (Exception ex) when (!throwOnError)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user