Skip to content

Commit 945ed18

Browse files
authored
Updated condition to prevent exceptions (#115)
1 parent 0be39c8 commit 945ed18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Client/Core/PurgeResult.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public class PurgeResult
1414
/// <param name="count">The count of instances purged.</param>
1515
public PurgeResult(int count)
1616
{
17-
Check.Argument(count > 0, nameof(count), "Count must be non-negative");
17+
Check.Argument(count >= 0, nameof(count), "Count must be non-negative");
1818
this.PurgedInstanceCount = count;
1919
}
2020

0 commit comments

Comments
 (0)