diff --git a/helpers/schema.js b/helpers/schema.js index 7a5f6ff0..a9275144 100644 --- a/helpers/schema.js +++ b/helpers/schema.js @@ -61,6 +61,9 @@ module.exports = { const expected = (check.expected || false); if (result !== expected) { errors.push(check.error); + if (check.blocking === true) { + break; //errors that you want to stop and not bother checking the rest + } } } return errors;