Browse Source

Merge pull request #5226 from Bond-009/null

100% branch coverage for Emby.Naming
dkanada 4 năm trước cách đây
mục cha
commit
8301dabca6
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      Emby.Naming/TV/SeasonPathParser.cs

+ 1 - 1
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)
             {