Skip to content

Commit eaebd41

Browse files
committed
Remove unnecessary return
1 parent 6defc14 commit eaebd41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/graph.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ export function getGraph<ForkName extends string, StairName extends string>(
7575

7676
const graph: dijkstra.Graph = {};
7777
hallConnectors.forEach(hall => {
78-
return hall.forEach((node, ind) => {
78+
hall.forEach((node, ind) => {
7979
const id = node.nodeId;
8080
const edgesTo: { [key: string]: number } = {};
8181
if (ind != 0) {

0 commit comments

Comments
 (0)