get_travel_distance: no need for debug output if there is no polyline
This commit is contained in:
parent
d26953d13e
commit
d189f6f0d2
1 changed files with 4 additions and 2 deletions
|
@ -1154,7 +1154,8 @@ sub get_travel_distance {
|
||||||
|
|
||||||
# Work around inconsistencies caused by a multiple EVA IDs mapping to the same station name
|
# Work around inconsistencies caused by a multiple EVA IDs mapping to the same station name
|
||||||
if (
|
if (
|
||||||
not List::MoreUtils::any { $_->[2] and $_->[2] == $from_eva }
|
@{ $polyline_ref // [] }
|
||||||
|
and not List::MoreUtils::any { $_->[2] and $_->[2] == $from_eva }
|
||||||
@{ $polyline_ref // [] }
|
@{ $polyline_ref // [] }
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
@ -1170,7 +1171,8 @@ sub get_travel_distance {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (
|
if (
|
||||||
not List::MoreUtils::any { $_->[2] and $_->[2] == $to_eva }
|
@{ $polyline_ref // [] }
|
||||||
|
and not List::MoreUtils::any { $_->[2] and $_->[2] == $to_eva }
|
||||||
@{ $polyline_ref // [] }
|
@{ $polyline_ref // [] }
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue