[DatFile] Ensure output directory

This commit is contained in:
Matt Nadareski
2017-11-08 12:57:48 -08:00
parent 6dc907a6e8
commit bd27b486f8

View File

@@ -5915,6 +5915,12 @@ namespace SabreTools.Library.DatFiles
{
reportName = "report";
}
// Get the proper output directory name
if (outDir == null)
{
outDir = Environment.CurrentDirectory;
}
outDir = Path.GetFullPath(outDir);
// Get the dictionary of desired output report names