remove unnecessary exists check

This commit is contained in:
rootdarkarchon
2023-11-16 16:18:44 +01:00
parent 96cc64b35a
commit f89bbc45e6

View File

@@ -404,8 +404,7 @@ public sealed class PairHandler : DisposableMediatorSubscriberBase
LastAppliedDataSize = -1;
foreach (var path in moddedPaths.Select(v => new FileInfo(v.Value)).Where(p => p.Exists))
{
if (path.Exists)
LastAppliedDataSize += path.Length;
LastAppliedDataSize += path.Length;
}
}