mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-23 17:24:46 +03:00
Replace == null with is null
This commit is contained in:
@@ -32,7 +32,7 @@ namespace MediaBrowser.LocalMetadata.Images
|
||||
public IEnumerable<LocalImageInfo> GetImages(BaseItem item, IDirectoryService directoryService)
|
||||
{
|
||||
var parentPath = Path.GetDirectoryName(item.Path);
|
||||
if (parentPath == null)
|
||||
if (parentPath is null)
|
||||
{
|
||||
return Enumerable.Empty<LocalImageInfo>();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user