Add nullable context to SabreTools.DatFiles

This commit is contained in:
Matt Nadareski
2023-08-10 23:22:14 -04:00
parent 7bb0ba245d
commit a18ee46d5d
57 changed files with 846 additions and 1217 deletions

View File

@@ -172,7 +172,7 @@ namespace SabreTools.Core.Tools
/// </summary>
/// <param name="path">Path to check</param>
/// <returns>True if the extension is valid, false otherwise</returns>
public static bool HasValidDatExtension(string path)
public static bool HasValidDatExtension(string? path)
{
// If the path is null or empty, then we return false
if (string.IsNullOrEmpty(path))