mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Fix directory ensurance until library fixed
This commit is contained in:
@@ -39,7 +39,7 @@ namespace SabreTools.DatTools
|
||||
/// <returns>True if the DAT was written correctly, false otherwise</returns>
|
||||
public static bool Write(
|
||||
DatFile datFile,
|
||||
string ?outDir,
|
||||
string? outDir,
|
||||
bool overwrite = true,
|
||||
bool ignoreblanks = false,
|
||||
bool quotes = true,
|
||||
@@ -53,7 +53,7 @@ namespace SabreTools.DatTools
|
||||
}
|
||||
|
||||
// Ensure the output directory is set and created
|
||||
outDir = outDir?.Ensure(create: true);
|
||||
outDir = (outDir ?? string.Empty).Ensure(create: true);
|
||||
|
||||
InternalStopwatch watch = new($"Writing out internal dat to '{outDir}'");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user