diff options
| author | Ben Beltran <ben@nsovocal.com> | 2018-04-21 03:11:47 -0500 |
|---|---|---|
| committer | Ben Beltran <ben@nsovocal.com> | 2018-04-21 03:11:47 -0500 |
| commit | 17e4efc7eeb88d7764582bea124c71989fe1f1cb (patch) | |
| tree | ac673d5ea72d767616a22428e17f00b57f17cc51 /lib/serpentity.js | |
| parent | 4cee919d916319262296529f7a9b9857380aad52 (diff) | |
Yields nodeCollection instead of nodes array
Diffstat (limited to 'lib/serpentity.js')
| -rw-r--r-- | lib/serpentity.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/serpentity.js b/lib/serpentity.js index 0d932ac..60fb23c 100644 --- a/lib/serpentity.js +++ b/lib/serpentity.js @@ -223,7 +223,7 @@ const Serpentity = class Serpentity { nodeCollection.add(entity); } - return nodeCollection.nodes; + return nodeCollection; } /* |