Skip to content

Commit 9a7ce78

Browse files
committed
Precaution check
1 parent cbeaa50 commit 9a7ce78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

postgresql.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ function findInputNodeId(toNode, filter = null) {
1212
const allNodes = toNode._flow.global.allNodes;
1313
for (const fromNodeId of Object.keys(allNodes)) {
1414
const fromNode = allNodes[fromNodeId];
15-
if (fromNode.wires) {
15+
if (fromNode && fromNode.wires) {
1616
for (const wireId of Object.keys(fromNode.wires)) {
1717
const wire = fromNode.wires[wireId];
1818
for (const toNodeId of wire) {

0 commit comments

Comments
 (0)