Skip to content

Conversation

@joshlarson
Copy link
Contributor

(Before on the left; After on the right)

Screenshot 2025-12-03 at 1 03 45 PM

Asana Ticket: [SF/UD] All Modes: 🐞 Last stop isn't showing up

@joshlarson joshlarson requested a review from a team as a code owner December 3, 2025 18:04
@joshlarson joshlarson enabled auto-merge (squash) December 3, 2025 18:07
end

defp filter_predictions(predictions, min_time) do
defp filter_predictions(predictions, min_time, _include_terminals = false) do
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is an odd use of the match operator, and is unnecessary for pattern matching in the function head.

Suggested change
defp filter_predictions(predictions, min_time, _include_terminals = false) do
defp filter_predictions(predictions, min_time, false) do

end)
end

defp filter_predictions(predictions, min_time, _include_terminals = true) do
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
defp filter_predictions(predictions, min_time, _include_terminals = true) do
defp filter_predictions(predictions, min_time, true) do

This is an odd use of the match operator, and is unnecessary for pattern matching in the function head.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants