Kaynağa Gözat

100% branch coverage for Emby.Naming

Bond_009 4 yıl önce
ebeveyn
işleme
8a6242826f
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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)
             {