mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Clear format and parse
This commit is contained in:
@@ -472,7 +472,10 @@ namespace SabreTools.Features
|
||||
|| currentFormat.HasFlag(DatFormat.TSV);
|
||||
#endif
|
||||
|
||||
// Clear format and parse
|
||||
datFile.Header.RemoveField(DatHeader.DatFormatKey);
|
||||
Parser.ParseInto(datFile, inputPath.CurrentPath, keep: true, keepext: isSeparatedFile);
|
||||
datFile.Header.SetFieldValue<DatFormat>(DatHeader.DatFormatKey, currentFormat);
|
||||
|
||||
// Perform additional processing steps
|
||||
AdditionalProcessing(datFile);
|
||||
|
||||
Reference in New Issue
Block a user