Skip to content

Commit

Permalink
Update fission/src/mirabuf/MirabufParser.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
azaleacolburn authored Aug 21, 2024
1 parent 86a8e51 commit 4f6f742
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fission/src/mirabuf/MirabufParser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 4f6f742

Please sign in to comment.