diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2022-10-09 14:34:31 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2022-10-09 14:34:31 -0400 |
commit | d0704ef6f0040d10aa89e9cf1ee8d38098bff5df (patch) | |
tree | 09e5b25f46511bfba07f13ee2e5b019558ac110c /src/SMAPI.Web | |
parent | 8dc12fd01c9274b045bafb04f02ef97fd8999c5d (diff) | |
download | SMAPI-d0704ef6f0040d10aa89e9cf1ee8d38098bff5df.tar.gz SMAPI-d0704ef6f0040d10aa89e9cf1ee8d38098bff5df.tar.bz2 SMAPI-d0704ef6f0040d10aa89e9cf1ee8d38098bff5df.zip |
fix nullability warnings
Diffstat (limited to 'src/SMAPI.Web')
-rw-r--r-- | src/SMAPI.Web/Views/LogParser/Index.cshtml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SMAPI.Web/Views/LogParser/Index.cshtml b/src/SMAPI.Web/Views/LogParser/Index.cshtml index 24fe5fa2..b982bc0c 100644 --- a/src/SMAPI.Web/Views/LogParser/Index.cshtml +++ b/src/SMAPI.Web/Views/LogParser/Index.cshtml @@ -361,7 +361,7 @@ else if (log?.IsValid == true) ContentPacks: contentPacks?.TryGetValue(mod.Name, out LogModInfo[]? contentPackList) == true ? contentPackList : Array.Empty<LogModInfo>() )) .ToList(); - if (contentPacks?.TryGetValue("", out LogModInfo[] invalidPacks) == true) + if (contentPacks?.TryGetValue("", out LogModInfo[]? invalidPacks) == true) { modsWithContentPacks.Add(( Mod: new LogModInfo(ModType.CodeMod, "<invalid content packs>", "", "", ""), |