Please sign in to comment.
Use `break` instead of `next` in AD::Journey::Formatter#match_route
The array is sorted in descending order, so there is no point in iterating further if we met a negative item - all the rest will be negative too.
- Loading branch information...
Showing with 1 addition and 1 deletion.