mirror of
https://github.com/brendan-ch/project-inter-server.git
synced 2026-04-17 07:50:31 +00:00
Update getArrivedStopIfExists and implement tests for it
This commit is contained in:
@@ -449,8 +449,8 @@ export class RedisShuttleRepository extends EventEmitter implements ShuttleGette
|
||||
if (stop != null && shuttleHasArrivedAtStop(shuttle, stop, delta)) {
|
||||
return stop;
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
|
||||
public async getShuttleLastStopArrival(shuttle: IShuttle): Promise<ShuttleStopArrival | undefined> {
|
||||
|
||||
Reference in New Issue
Block a user