Fix link exist check

This commit is contained in:
Chenlei Hu
2025-05-07 14:11:16 -04:00
committed by GitHub
parent e73edeed1a
commit ba63b5fa8c
+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];