Skip to content

Commit

Permalink
chore: format
Browse files Browse the repository at this point in the history
  • Loading branch information
davwheat committed Nov 3, 2023
1 parent a579696 commit 7c4468f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/announcement-data/systems/stations/KeTechPhil.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3978,7 +3978,9 @@ function LiveTrainAnnouncements({ nextTrainHandler, system }: LiveTrainAnnouncem
return false
}
if (calculateArrivalInMins(s.etd) > MIN_TIME_TO_ANNOUNCE) {
console.log(`[Live Trains] Skipping ${s.serviceIdGuid} (${s.std} to ${s.destination[0].locationName}) as it is more than ${MIN_TIME_TO_ANNOUNCE} mins away`)
console.log(
`[Live Trains] Skipping ${s.serviceIdGuid} (${s.std} to ${s.destination[0].locationName}) as it is more than ${MIN_TIME_TO_ANNOUNCE} mins away`,
)
return false
}

Expand Down

0 comments on commit 7c4468f

Please sign in to comment.