Skip to content

Commit

Permalink
fix: trailing spaces issue
Browse files Browse the repository at this point in the history
  • Loading branch information
darshan-iterable committed Sep 5, 2024
1 parent 2ff52dd commit 0ed9b9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/anonymousUserTracking/criteriaCompletionChecker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -478,13 +478,13 @@ class CriteriaCompletionChecker {
this.compareValueEquality(source, stringValue)
);
}

if (Array.isArray(stringValue)) {
return stringValue.some((value) =>
this.compareValueEquality(sourceTo, value)
);
}

if (
(typeof sourceTo === 'number' || typeof sourceTo === 'boolean') &&
stringValue !== ''
Expand Down

0 comments on commit 0ed9b9c

Please sign in to comment.