From c9ee45c1d2cc1788367d90884175a3c1633dbba4 Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Sun, 27 Oct 2024 20:24:24 -0400 Subject: [PATCH] Count not Count() --- BinaryObjectScanner/Protection/CopyX.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BinaryObjectScanner/Protection/CopyX.cs b/BinaryObjectScanner/Protection/CopyX.cs index 16066d3d..ea510ece 100644 --- a/BinaryObjectScanner/Protection/CopyX.cs +++ b/BinaryObjectScanner/Protection/CopyX.cs @@ -133,7 +133,7 @@ public ConcurrentQueue CheckDirectoryPath(string path, IEnumerable f) .ToList(); - if (lightFiles.Count() > 0) + if (lightFiles.Count > 0) break; }