Explorar el Código

Merge pull request #5226 from Bond-009/null

100% branch coverage for Emby.Naming
dkanada hace 4 años
padre
commit
8301dabca6
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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)
             {