The Free Software Media System - Server Backend & API
Replace `!=` with `is not`
Mikal S9b7da736ed13
diff --git a/MediaBrowser.Controller/Providers/DirectoryService.cs b/MediaBrowser.Controller/Providers/DirectoryService.csindex 55f198ea21..474f09dc5e 100644--- a/MediaBrowser.Controller/Providers/DirectoryService.cs+++ b/MediaBrowser.Controller/Providers/DirectoryService.cs@@ -63,13 +63,13 @@ namespace MediaBrowser.Controller.Providerspublic 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)