mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Add nullability to the two programs (not enforced)
This commit is contained in:
@@ -153,7 +153,7 @@ namespace SabreTools.DatTools
|
||||
public static bool Write(
|
||||
List<DatStatistics> stats,
|
||||
string reportName,
|
||||
string outDir,
|
||||
string? outDir,
|
||||
bool baddumpCol,
|
||||
bool nodumpCol,
|
||||
StatReportFormat statDatFormat,
|
||||
@@ -171,12 +171,12 @@ namespace SabreTools.DatTools
|
||||
reportName = "report";
|
||||
|
||||
// Get the proper output directory name
|
||||
outDir = outDir.Ensure();
|
||||
outDir = outDir?.Ensure();
|
||||
|
||||
InternalStopwatch watch = new($"Writing out report data to '{outDir}'");
|
||||
|
||||
// Get the dictionary of desired output report names
|
||||
Dictionary<StatReportFormat, string> outfiles = CreateOutStatsNames(outDir, statDatFormat, reportName);
|
||||
Dictionary<StatReportFormat, string> outfiles = CreateOutStatsNames(outDir!, statDatFormat, reportName);
|
||||
|
||||
try
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user