diff --git a/packages/schema/src/language-server/validator/datamodel-validator.ts b/packages/schema/src/language-server/validator/datamodel-validator.ts index 6b27d2f9a..e463f740f 100644 --- a/packages/schema/src/language-server/validator/datamodel-validator.ts +++ b/packages/schema/src/language-server/validator/datamodel-validator.ts @@ -149,7 +149,6 @@ export default class DataModelValidator implements AstValidator { if (accept) { accept('error', `"fields" and "references" must be provided together`, { node: relAttr }); } - // } } else { // validate "fields" and "references" typing consistency if (fields.length !== references.length) {