@snowtop/ent 0.1.0-alpha98-5dd3b3b0-9b44-11ed-83bb-45feb44f884b → 0.1.0-alpha98-7e7c66e0-9b7e-11ed-8ad2-4d9852e6a609

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@snowtop/ent",
3
- "version": "0.1.0-alpha98-5dd3b3b0-9b44-11ed-83bb-45feb44f884b",
3
+ "version": "0.1.0-alpha98-7e7c66e0-9b7e-11ed-8ad2-4d9852e6a609",
4
4
  "description": "snowtop ent framework",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -397,7 +397,7 @@ async function main() {
397
397
  };
398
398
  const buildClasses = (fields) => {
399
399
  fields.forEach((field) => {
400
- if (!nodesMap.has(field.nodeName)) {
400
+ if (field.nodeName && !nodesMap.has(field.nodeName)) {
401
401
  let info = imports.getInfoForClass(field.nodeName);
402
402
  classes[field.nodeName] = { ...info.class, path: info.file.path };
403
403
  buildFiles(info.file);