wait in mix task while pleroma is rebooted
[akkoma] / lib / mix / tasks / pleroma / emoji.ex
index 24d999707381b4ed500949db38cf4fe5cabdb1f2..74bf968fcf724e0d28ea28dae7a55aa428a84a11 100644 (file)
@@ -186,11 +186,7 @@ defmodule Mix.Tasks.Pleroma.Emoji do
 
     tmp_pack_dir = Path.join(System.tmp_dir!(), "emoji-pack-#{name}")
 
-    {:ok, _} =
-      :zip.unzip(
-        binary_archive,
-        cwd: tmp_pack_dir
-      )
+    {:ok, _} = :zip.unzip(binary_archive, cwd: String.to_charlist(tmp_pack_dir))
 
     emoji_map = Pleroma.Emoji.Loader.make_shortcode_to_file_map(tmp_pack_dir, exts)