Clean up Skipper structure

This commit is contained in:
Matt Nadareski
2020-07-30 21:07:25 -07:00
parent 88d0d043ef
commit a4b2a4ff17
8 changed files with 423 additions and 359 deletions

View File

@@ -1945,7 +1945,7 @@ namespace SabreTools.Library.DatFiles
}
// Preload the Skipper list
Skipper.Init();
Transform.Init();
#endregion
@@ -2129,7 +2129,7 @@ namespace SabreTools.Library.DatFiles
}
// Preload the Skipper list
Skipper.Init();
Transform.Init();
#endregion
@@ -2495,7 +2495,7 @@ namespace SabreTools.Library.DatFiles
return false;
// Check to see if we have a matching header first
SkipperRule rule = Skipper.GetMatchingRule(fileStream, Path.GetFileNameWithoutExtension(headerToCheckAgainst));
SkipperRule rule = Transform.GetMatchingRule(fileStream, Path.GetFileNameWithoutExtension(headerToCheckAgainst));
// If there's a match, create the new file to write
if (rule.Tests != null && rule.Tests.Count != 0)