Apply 1 suggestion(s) to 1 file(s)
This commit is contained in:
parent
14ec12ac95
commit
b267b751d4
@ -74,7 +74,7 @@ defmodule Pleroma.Emoji.Pack do
|
|||||||
shortcode <- Path.basename(filename, Path.extname(filename)),
|
shortcode <- Path.basename(filename, Path.extname(filename)),
|
||||||
false <- Emoji.exist?(shortcode)
|
false <- Emoji.exist?(shortcode)
|
||||||
) do
|
) do
|
||||||
acc ++ [%{path: path, filename: path, shortcode: shortcode}]
|
[%{path: path, filename: path, shortcode: shortcode} | acc]
|
||||||
else
|
else
|
||||||
_ -> acc
|
_ -> acc
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user