[SabreTools, DatFile] Make checks internal

This commit is contained in:
Matt Nadareski
2017-11-17 17:27:23 -08:00
parent 8de5eecabb
commit f9c6a5ec82
2 changed files with 3 additions and 3 deletions

View File

@@ -3336,6 +3336,9 @@ namespace SabreTools.Library.DatFiles
Description = Name + (bare ? "" : " (" + Date + ")"); Description = Name + (bare ? "" : " (" + Date + ")");
} }
// Clean the temp directory path
tempDir = (String.IsNullOrWhiteSpace(tempDir) ? Path.GetTempPath() : tempDir);
// Process the input // Process the input
if (Directory.Exists(basePath)) if (Directory.Exists(basePath))
{ {

View File

@@ -124,9 +124,6 @@ namespace SabreTools
Type = (superdat ? "SuperDAT" : ""), Type = (superdat ? "SuperDAT" : ""),
}; };
// Clean the temp directory
tempDir = (String.IsNullOrWhiteSpace(tempDir) ? Path.GetTempPath() : tempDir);
// For each input directory, create a DAT // For each input directory, create a DAT
foreach (string path in inputs) foreach (string path in inputs)
{ {