Fix directory ensurance until library fixed

This commit is contained in:
Matt Nadareski
2024-03-11 13:42:55 -04:00
parent 25d8d4faeb
commit 4db6d14ffb
7 changed files with 8 additions and 8 deletions

View File

@@ -68,7 +68,7 @@ namespace SabreTools.Features
Parser.ParseInto(internalDat, file);
// Get the output directory
OutputDir = OutputDir?.Ensure();
OutputDir = (OutputDir ?? string.Empty).Ensure();
OutputDir = file.GetOutputPath(OutputDir, GetBoolean(features, InplaceValue));
// Extension splitting

View File

@@ -149,7 +149,7 @@ namespace SabreTools.Features
List<ParentablePath> basePaths = PathTool.GetFilesOnly(GetList(features, BaseDatListValue));
// Ensure the output directory
OutputDir = OutputDir?.Ensure();
OutputDir = (OutputDir ?? string.Empty).Ensure();
// If we're in standard update mode, run through all of the inputs
if (updateMode == UpdateMode.None)