aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBen Beltran <ben@nsovocal.com>2018-04-21 02:51:20 -0500
committerBen Beltran <ben@nsovocal.com>2018-04-21 02:51:20 -0500
commit2a2e1583f260830fba4ac7c319b2b8f7bb5a34b8 (patch)
tree990d19cc4f5badc029be2c28c8a0d976509fb021 /lib
parent64862f90469955827d30e2002c17f8bec9db5ae1 (diff)
Call super when constructing node collection
Diffstat (limited to 'lib')
-rw-r--r--lib/serpentity/node_collection.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/serpentity/node_collection.js b/lib/serpentity/node_collection.js
index bb66a8d..73998b1 100644
--- a/lib/serpentity/node_collection.js
+++ b/lib/serpentity/node_collection.js
@@ -14,6 +14,8 @@ const NodeCollection = class NodeCollection extends Events {
constructor(config) {
+ super();
+
this.nodes = [];
this.type = null;