Skip to content

Commit

Permalink
updating check
Browse files Browse the repository at this point in the history
  • Loading branch information
joshfried-aws committed May 7, 2024
1 parent 14f1a07 commit f3c17a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guard/src/rules/eval/operators.rs
Original file line number Diff line number Diff line change
Expand Up @@ -662,7 +662,7 @@ impl Comparator for (crate::rules::CmpOperator, bool) {
ValueEvalResult::ComparisonResult(ComparisonResult::Fail(c)) => {
match c {
Compare::QueryIn(qin) => {
let reverse_diff = if rhs.len() > lhs.len()
let reverse_diff = if rhs.len() >= lhs.len()
&& matches!(self.0, crate::rules::CmpOperator::Eq)
{
reverse_diff(qin.diff, &qin.rhs)
Expand Down

0 comments on commit f3c17a7

Please sign in to comment.