@snowtop/ent 0.1.0-alpha157 → 0.1.0-alpha158

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-alpha157",
3
+ "version": "0.1.0-alpha158",
4
4
  "description": "snowtop ent framework",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -419,13 +419,9 @@ async function main() {
419
419
  const buildClasses = (fields) => {
420
420
  fields.forEach((field) => {
421
421
  if (field.nodeName && !nodesMap.has(field.nodeName)) {
422
- // TODO don't necessarily wanna do this
423
- try {
424
- let info = imports.getInfoForClass(field.nodeName);
425
- classes[field.nodeName] = { ...info.class, path: info.file.path };
426
- buildFiles(info.file);
427
- }
428
- catch (err) { }
422
+ let info = imports.getInfoForClass(field.nodeName);
423
+ classes[field.nodeName] = { ...info.class, path: info.file.path };
424
+ buildFiles(info.file);
429
425
  }
430
426
  buildClasses2(field.args);
431
427
  buildClasses2(field.results);