Skip to content

Commit bea597b

Browse files
trekhlebshoredata
authored andcommitted
Code style fix.
1 parent e1a5783 commit bea597b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/data-structures/graph/Graph.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,11 @@ export default class Graph {
115115
*/
116116
findEdge(startVertex, endVertex) {
117117
const vertex = this.getVertexByKey(startVertex.getKey());
118+
118119
if (!vertex) {
119120
return null;
120121
}
122+
121123
return vertex.findEdge(endVertex);
122124
}
123125

0 commit comments

Comments
 (0)