Merge pull request #489 from huchenlei/huchenlei-patch-1

Fix link exist check in link_fixer
This commit is contained in:
Regis Gaughan, III
2025-05-07 20:16:19 -04:00
committed by GitHub
+1 -1
View File
@@ -501,7 +501,7 @@ class WorkflowLinkFixerGraph extends WorkflowLinkFixer<LGraph, LGraphNode> {
this.graph.links.delete(id);
return true;
}
if (!this.graph.links[id] == null) {
if (this.graph.links[id] == null) {
return `Link #${id} not found in workflow links.`;
}
delete this.graph.links[id];