Skip to content

Commit

Permalink
Precaution check
Browse files Browse the repository at this point in the history
  • Loading branch information
Alkarex committed May 19, 2022
1 parent 957f47f commit 5565bbc
Show file tree
Hide file tree
Showing 3 changed files with 519 additions and 407 deletions.
2 changes: 1 addition & 1 deletion chunks-to-lines.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ function findInputNodeId(toNode, filter = null) {
const allNodes = toNode._flow.global.allNodes;
for (const fromNodeId of Object.keys(allNodes)) {
const fromNode = allNodes[fromNodeId];
if (fromNode.wires) {
if (fromNode && fromNode.wires) {
for (const wireId of Object.keys(fromNode.wires)) {
const wire = fromNode.wires[wireId];
for (const toNodeId of wire) {
Expand Down
Loading

0 comments on commit 5565bbc

Please sign in to comment.