Formatting

This commit is contained in:
Ekaterina Vaartis 2019-04-21 22:33:54 +03:00
parent 0d6265cfe2
commit ba19ba8a88
1 changed files with 5 additions and 5 deletions

View File

@ -132,12 +132,12 @@ defp load_pack(pack_dir) do
"No emoji.txt found for pack \"#{pack_name}\", assuming all .png files are emoji"
)
make_shortcode_to_file_map(pack_dir, [".png"]) |>
Enum.map(fn {shortcode, rel_file} ->
filename = Path.join("/emoji/#{pack_name}", rel_file)
make_shortcode_to_file_map(pack_dir, [".png"])
|> Enum.map(fn {shortcode, rel_file} ->
filename = Path.join("/emoji/#{pack_name}", rel_file)
{shortcode, filename, [to_string(match_extra(@groups, filename))]}
end)
{shortcode, filename, [to_string(match_extra(@groups, filename))]}
end)
end
end