Skip to content

Commit 9d8ca83

Browse files
authored
Merge pull request #11 from Steffan-Ennis/master
Fix: Run predicate against array and elements for production environments
2 parents 09225f6 + 37eac0e commit 9d8ca83

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/conditionsMeet.js

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ export default function conditionsMeet(conditions, formData) {
88
toError(
99
`Rule ${JSON.stringify(conditions)} with ${formData} can't be processed`
1010
);
11+
return false;
1112
}
1213
return Object.keys(conditions).every(ref => {
1314
let refCondition = conditions[ref];

0 commit comments

Comments
 (0)