mirror of
https://github.com/ash-project/ash_postgres.git
synced 2024-09-20 05:23:18 +12:00
chore: map+join -> map_join
This commit is contained in:
parent
a56f4ef52f
commit
612c9ee7a9
1 changed files with 1 additions and 2 deletions
3
mix.exs
3
mix.exs
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue