Skip to content

Commit

Permalink
Updated condition to prevent exceptions (#115)
Browse files Browse the repository at this point in the history
  • Loading branch information
jhueppauff authored Jan 31, 2023
1 parent 0be39c8 commit 945ed18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Client/Core/PurgeResult.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public class PurgeResult
/// <param name="count">The count of instances purged.</param>
public PurgeResult(int count)
{
Check.Argument(count > 0, nameof(count), "Count must be non-negative");
Check.Argument(count >= 0, nameof(count), "Count must be non-negative");
this.PurgedInstanceCount = count;
}

Expand Down

0 comments on commit 945ed18

Please sign in to comment.