Destructure in the function head
This commit is contained in:
parent
0d615080f2
commit
2a5ee5b407
|
|
@ -72,10 +72,8 @@
|
|||
end
|
||||
end,
|
||||
SigningKeys =
|
||||
lists:map(fun(Key) ->
|
||||
{Id, Path} = Key,
|
||||
{list_to_binary(lists:last(Id)), TryReadingFileFun(Path)}
|
||||
end,
|
||||
Settings),
|
||||
lists:map(fun({Id, Path}) ->
|
||||
{list_to_binary(lists:last(Id)), TryReadingFileFun(Path)}
|
||||
end, Settings),
|
||||
maps:from_list(SigningKeys)
|
||||
end}.
|
||||
|
|
|
|||
Loading…
Reference in New Issue