Skip to content

Commit 2426871

Browse files
committed
Mix format
1 parent f39d230 commit 2426871

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

lib/unity/repl.ex

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,6 +348,7 @@ defmodule Unity.Repl do
348348

349349
defp list_units("") do
350350
categories = Localize.Unit.known_categories() |> Enum.sort()
351+
351352
md = """
352353
**Unit categories:** #{Enum.map_join(categories, ", ", &"`#{&1}`")}
353354
@@ -362,7 +363,9 @@ defmodule Unity.Repl do
362363

363364
case Map.get(by_category, category) do
364365
nil ->
365-
IO.puts(Unity.Repl.Color.error(Unity.Error.format("unknown category: #{inspect(category)}")))
366+
IO.puts(
367+
Unity.Repl.Color.error(Unity.Error.format("unknown category: #{inspect(category)}"))
368+
)
366369

367370
units ->
368371
units_str = units |> Enum.sort() |> Enum.map_join(", ", &"`#{&1}`")

0 commit comments

Comments
 (0)