From 4f6f7426b2092ca196c9099f69dfd871870187d1 Mon Sep 17 00:00:00 2001 From: Azalea Colburn <62953415+azaleacolburn@users.noreply.github.com> Date: Wed, 21 Aug 2024 15:37:40 -0700 Subject: [PATCH] Update fission/src/mirabuf/MirabufParser.ts --- fission/src/mirabuf/MirabufParser.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fission/src/mirabuf/MirabufParser.ts b/fission/src/mirabuf/MirabufParser.ts index c07cf5cef..436a022a8 100644 --- a/fission/src/mirabuf/MirabufParser.ts +++ b/fission/src/mirabuf/MirabufParser.ts @@ -454,7 +454,7 @@ export class Graph { } public AddEdgeDirected(nodeA: string, nodeB: string) { - if (!this._adjacencyMap.has(nodeA) || !this._adjacencyMap?.has(nodeB)) throw new Error("Nodes aren't in graph") + if (!this._adjacencyMap.has(nodeA) || !this._adjacencyMap.has(nodeB)) throw new Error("Nodes aren't in graph") this._adjacencyMap.get(nodeA)!.push(nodeB) }