Apply 1 suggestion(s) to 1 file(s)

This commit is contained in:
Maksim 2020-08-25 05:38:25 +00:00
parent 14ec12ac95
commit b267b751d4
1 changed files with 1 additions and 1 deletions

View File

@ -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