diff --git a/grunt/helpers/schema/Schema.js b/grunt/helpers/schema/Schema.js index 737ffb7da..9bdeaab15 100644 --- a/grunt/helpers/schema/Schema.js +++ b/grunt/helpers/schema/Schema.js @@ -126,6 +126,9 @@ class Schema { let hasChanged = false; let haveChildenChanged = false; let defaultValue; + + if (description === null || output === null) return; + switch (description.type) { case 'object': defaultValue = description.hasOwnProperty('default') && options.fillObjects ? description.default : {};