Treat the manifest path as a file if it doesn't start with http
Bu işleme şunda yer alıyor:
ebeveyn
aaaa428512
işleme
98d4b3de53
@ -231,7 +231,13 @@ defmodule Mix.Tasks.Pleroma.Emoji do
|
||||
end
|
||||
|
||||
defp fetch_manifest(from) do
|
||||
Tesla.get!(from).body |> Poison.decode!()
|
||||
Poison.decode!(
|
||||
if String.starts_with?(from, "http") do
|
||||
Tesla.get!(from).body
|
||||
else
|
||||
File.read!(from)
|
||||
end
|
||||
)
|
||||
end
|
||||
|
||||
defp parse_global_opts(args) do
|
||||
|
Yükleniyor…
Yeni konuda referans
Bir kullanıcı engelle