aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/AppBase
diff options
context:
space:
mode:
authorChristopher Young <c.t.ythegamer@gmail.com>2025-10-08 12:27:51 -0600
committerChristopher Young <c.t.ythegamer@gmail.com>2025-10-08 12:27:51 -0600
commit622b60064dd2c9bf6cea139ab2056011d9e9c203 (patch)
treeec9f84d01b7c3ff3ffd23e89bb27aa4bf4e131ff /Emby.Server.Implementations/AppBase
parent91b2b7fc3dfe23fdc01834f2f1364e9f8bd98fe4 (diff)
parent0b4854c5eff7c862d05f43048e08dd3a1a25efaa (diff)
Merge branch 'master' of https://github.com/JadedRain/jellyfin
Diffstat (limited to 'Emby.Server.Implementations/AppBase')
-rw-r--r--Emby.Server.Implementations/AppBase/BaseApplicationPaths.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/AppBase/BaseApplicationPaths.cs b/Emby.Server.Implementations/AppBase/BaseApplicationPaths.cs
index e74755ec32..c69bcfef78 100644
--- a/Emby.Server.Implementations/AppBase/BaseApplicationPaths.cs
+++ b/Emby.Server.Implementations/AppBase/BaseApplicationPaths.cs
@@ -108,7 +108,7 @@ namespace Emby.Server.Implementations.AppBase
private void CheckOrCreateMarker(string path, string markerName, bool recursive = false)
{
var otherMarkers = GetMarkers(path, recursive).FirstOrDefault(e => Path.GetFileName(e) != markerName);
- if (otherMarkers != null)
+ if (otherMarkers is not null)
{
throw new InvalidOperationException($"Exepected to find only {markerName} but found marker for {otherMarkers}.");
}