Enable nullable for more files

This commit is contained in:
Bond_009
2021-08-28 17:32:09 +02:00
parent e88367fe70
commit 645825db36
12 changed files with 42 additions and 58 deletions

View File

@@ -3173,10 +3173,7 @@ namespace Emby.Server.Implementations.Library
{
if (!list.Any(i => string.Equals(i.Path, location, StringComparison.Ordinal)))
{
list.Add(new MediaPathInfo
{
Path = location
});
list.Add(new MediaPathInfo(location));
}
}