remove unnecessary exists check
This commit is contained in:
@@ -404,7 +404,6 @@ public sealed class PairHandler : DisposableMediatorSubscriberBase
|
|||||||
LastAppliedDataSize = -1;
|
LastAppliedDataSize = -1;
|
||||||
foreach (var path in moddedPaths.Select(v => new FileInfo(v.Value)).Where(p => p.Exists))
|
foreach (var path in moddedPaths.Select(v => new FileInfo(v.Value)).Where(p => p.Exists))
|
||||||
{
|
{
|
||||||
if (path.Exists)
|
|
||||||
LastAppliedDataSize += path.Length;
|
LastAppliedDataSize += path.Length;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user