[ALL] One utility class now

This commit is contained in:
Matt Nadareski
2017-11-08 00:27:00 -08:00
parent 65ef5785ef
commit 5dd08cba63
40 changed files with 1014 additions and 1037 deletions

View File

@@ -50,12 +50,12 @@ namespace SabreTools.Library.Skippers
}
Globals.Logger.User("Attempting to apply rule to '{0}'", input);
success = TransformStream(FileTools.TryOpenRead(input), FileTools.TryCreate(output));
success = TransformStream(Utilities.TryOpenRead(input), Utilities.TryCreate(output));
// If the output file has size 0, delete it
if (new FileInfo(output).Length == 0)
{
FileTools.TryDeleteFile(output);
Utilities.TryDeleteFile(output);
success = false;
}