Skip to content

Commit edff07e

Browse files
committed
toError is none blocking in production
1 parent 917ae88 commit edff07e

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)