From 612c9ee7a94b39e30074be0b83428ac0ae52774a Mon Sep 17 00:00:00 2001 From: Zach Daniel Date: Fri, 22 Sep 2023 16:15:06 -0400 Subject: [PATCH] chore: map+join -> map_join --- mix.exs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mix.exs b/mix.exs index 6d171cd..a9da3b3 100644 --- a/mix.exs +++ b/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