aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordkanada <dkanada@users.noreply.github.com>2021-02-14 15:49:41 +0900
committerGitHub <noreply@github.com>2021-02-14 15:49:41 +0900
commit8301dabca62a34c4cec214c8a834a587b6b4056c (patch)
tree9fa6a24b5e6a1b6301eb58fbbc3fe4ee6ad96dd2
parentd671a74c026502650ff4514495c118401a7fa8a9 (diff)
parent8a6242826f3cca6aa12b475ad948cd298c8a2996 (diff)
Merge pull request #5226 from Bond-009/null
100% branch coverage for Emby.Naming
-rw-r--r--Emby.Naming/TV/SeasonPathParser.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Naming/TV/SeasonPathParser.cs b/Emby.Naming/TV/SeasonPathParser.cs
index d11c7c99e..6236f86c4 100644
--- a/Emby.Naming/TV/SeasonPathParser.cs
+++ b/Emby.Naming/TV/SeasonPathParser.cs
@@ -60,7 +60,7 @@ namespace Emby.Naming.TV
bool supportSpecialAliases,
bool supportNumericSeasonFolders)
{
- var filename = Path.GetFileName(path) ?? string.Empty;
+ string filename = Path.GetFileName(path);
if (supportSpecialAliases)
{