chore: map+join -> map_join

This commit is contained in:
Zach Daniel 2023-09-22 16:15:06 -04:00
parent a56f4ef52f
commit 612c9ee7a9

View file

@ -92,11 +92,10 @@ defmodule AshPostgres.MixProject do
defp capitalize(string) do
string
|> String.split(" ")
|> Enum.map(fn string ->
|> Enum.map_join(" ", fn string ->
[hd | tail] = String.graphemes(string)
String.capitalize(hd) <> Enum.join(tail)
end)
|> Enum.join(" ")
end
defp groups_for_extras() do