100% branch coverage for Emby.Naming

This commit is contained in:
Bond_009 2021-02-13 11:38:17 +01:00
parent 6616add8c8
commit 8a6242826f

View File

@ -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)
{ {