Skip to content

Commit

Permalink
tweak: make a function private
Browse files Browse the repository at this point in the history
  • Loading branch information
hannahpurcell authored Dec 11, 2024
1 parent 1df7bf2 commit 144976c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/skate/detours/detours.ex
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ defmodule Skate.Detours.Detours do
def categorize_detour(_, _), do: nil

@spec get_detour_route(detour :: map()) :: String.t()
def get_detour_route(%{state: %{"context" => %{"route" => %{"name" => route_name}}}}),
defp get_detour_route(%{state: %{"context" => %{"route" => %{"name" => route_name}}}}),
do: route_name

@doc """
Expand Down

0 comments on commit 144976c

Please sign in to comment.