Skip to content

Commit

Permalink
fix(core): Bugfix on false values in rules
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewbrg committed Feb 7, 2024
1 parent 10e4191 commit bbcedd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/evaluator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ export class Evaluator {

// If the criteria object does not have the field
// we are looking for, we should return false.
if (!criterion) {
if (undefined === criterion) {
return false;
}

Expand Down

0 comments on commit bbcedd7

Please sign in to comment.