Fix linting

This commit is contained in:
yangdx 2025-10-02 22:01:00 +08:00
parent ffcd75a408
commit 19a4158419

View file

@ -343,7 +343,7 @@ const fetchGraph = async (label: string, maxDepth: number, maxNodes: number) =>
console.error(`Source node ${edge.source} is undefined`)
continue
}
const targetNode = rawData.nodes[target]
if (!targetNode) {
console.error(`Target node ${edge.target} is undefined`)