diff options
| -rw-r--r-- | MediaBrowser.Controller/Providers/DirectoryService.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MediaBrowser.Controller/Providers/DirectoryService.cs b/MediaBrowser.Controller/Providers/DirectoryService.cs index 55f198ea2..474f09dc5 100644 --- a/MediaBrowser.Controller/Providers/DirectoryService.cs +++ b/MediaBrowser.Controller/Providers/DirectoryService.cs @@ -63,13 +63,13 @@ namespace MediaBrowser.Controller.Providers public FileSystemMetadata? GetFile(string path) { var entry = GetFileSystemEntry(path); - return entry != null && !entry.IsDirectory ? entry : null; + return entry is not null && !entry.IsDirectory ? entry : null; } public FileSystemMetadata? GetDirectory(string path) { var entry = GetFileSystemEntry(path); - return entry != null && entry.IsDirectory ? entry : null; + return entry is not null && entry.IsDirectory ? entry : null; } public FileSystemMetadata? GetFileSystemEntry(string path) |
