瀏覽代碼

100% branch coverage for Emby.Naming

Bond_009 4 年之前
父節點
當前提交
8a6242826f
共有 1 個文件被更改,包括 1 次插入1 次删除
  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 supportSpecialAliases,
             bool supportNumericSeasonFolders)
             bool supportNumericSeasonFolders)
         {
         {
-            var filename = Path.GetFileName(path) ?? string.Empty;
+            string filename = Path.GetFileName(path);
 
 
             if (supportSpecialAliases)
             if (supportSpecialAliases)
             {
             {