Skip to content

Commit

Permalink
style: mix format
Browse files Browse the repository at this point in the history
  • Loading branch information
ahamez committed Sep 27, 2024
1 parent 4d94718 commit ef43532
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/protox/parse.ex
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,10 @@ defmodule Protox.Parse do
end
end

defp resolve_types(%Field{kind: :map, type: {key_type, {:type_to_resolve, tname}}} = field, enums) do
defp resolve_types(
%Field{kind: :map, type: {key_type, {:type_to_resolve, tname}}} = field,
enums
) do
if Map.has_key?(enums, tname) do
%Field{field | type: {key_type, {:enum, tname}}}
else
Expand Down

0 comments on commit ef43532

Please sign in to comment.