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