Skip to content

Commit c15eee6

Browse files
test: fixes
1 parent 1357c28 commit c15eee6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/utils.js

+4
Original file line numberDiff line numberDiff line change
@@ -927,6 +927,10 @@ module.exports = {
927927
},
928928

929929
getMetaSchemaNodeProperty(schemaNode, scopeManager) {
930+
if (!schemaNode) {
931+
return null;
932+
}
933+
930934
let { value } = schemaNode;
931935
if (value.type === 'Identifier' && value.name !== 'undefined') {
932936
const variable = findVariable(

0 commit comments

Comments
 (0)