-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: show "BRD" only if the vehicle is at the stop (#2111)
* fix: show "BRD" only if the vehicle is at the stop compares the vehicle's stop to the prediction's stop and only shows "BRD" if they match. this prevents "BRD" from showing when stops are very close to each other (such that a prediction is within the "BRD" window) and a vehicle is boarding at the previous stop * chore: disable cyclomatic complexity check * chore: add values for Stop in departures tests
- Loading branch information
1 parent
c1d5625
commit 8d8efc1
Showing
2 changed files
with
63 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters