فهرست منبع

Merge pull request #5226 from Bond-009/null

100% branch coverage for Emby.Naming
dkanada 4 سال پیش
والد
کامیت
8301dabca6
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)
             {
             {