Skip to content
This repository was archived by the owner on Oct 19, 2018. It is now read-only.

Commit 44c6e9c

Browse files
committed
fix: Await init for single api/core nodes
1 parent cfff355 commit 44c6e9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ class Cubic {
139139
// empty object for other nodes to attach to
140140
if (id !== 'api' && id !== 'core') {
141141
cubic.nodes[id] = {}
142-
node.init()
142+
await node.init()
143143
}
144144
// Actual node (cubic-core or cubic-api)
145145
else {

0 commit comments

Comments
 (0)