]> git.r.bdr.sh - rbdr/serpentity/blobdiff - lib/serpentity.js
Yields nodeCollection instead of nodes array
[rbdr/serpentity] / lib / serpentity.js
index 0d932ac9b8bec2a8b7f419581849db08d8290039..60fb23cb6956cb4922239a5155e806d00586e476 100644 (file)
@@ -223,7 +223,7 @@ const Serpentity = class Serpentity {
       nodeCollection.add(entity);
     }
 
-    return nodeCollection.nodes;
+    return nodeCollection;
   }
 
   /*