Skip to content

Commit

Permalink
fix typo (#131)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aiee authored Sep 13, 2021
1 parent e579867 commit 4e4fa25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion result_set.go
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,7 @@ func (path *PathWrapper) GetStartNode() (*Node, error) {

func (path *PathWrapper) GetEndNode() (*Node, error) {
if len(path.segments) == 0 {
return nil, fmt.Errorf("failed to get start node, no node in the path")
return nil, fmt.Errorf("failed to get end node, no node in the path")
}
return path.segments[len(path.segments)-1].endNode, nil
}
Expand Down

0 comments on commit 4e4fa25

Please sign in to comment.