Formatting

This commit is contained in:
Ekaterina Vaartis 2019-04-21 22:33:54 +03:00
parent 0d6265cfe2
commit ba19ba8a88

View file

@ -132,8 +132,8 @@ defmodule Pleroma.Emoji 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} ->
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))]}