From f15c9e8b08fef6e9284e0cd4de7637662e335971 Mon Sep 17 00:00:00 2001 From: FloatingGhost Date: Wed, 15 Jun 2022 18:22:30 +0100 Subject: [PATCH] format everything --- config/config.exs | 3 +-- lib/pleroma/frontend.ex | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/config.exs b/config/config.exs index f4915a909..827b85f26 100644 --- a/config/config.exs +++ b/config/config.exs @@ -735,8 +735,7 @@ "pleroma-fe" => %{ "name" => "pleroma-fe", "git" => "https://akkoma.dev/AkkomaGang/pleroma-fe", - "build_url" => - "https://akkoma-updates.s3-website.fr-par.scw.cloud/frontend/akkoma-fe.zip", + "build_url" => "https://akkoma-updates.s3-website.fr-par.scw.cloud/frontend/akkoma-fe.zip", "ref" => "develop", "build_dir" => "dist" }, diff --git a/lib/pleroma/frontend.ex b/lib/pleroma/frontend.ex index cc0b47077..c9e51bdc1 100644 --- a/lib/pleroma/frontend.ex +++ b/lib/pleroma/frontend.ex @@ -33,6 +33,7 @@ def install(name, opts \\ []) do label = "#{name} (#{ref})" tmp_dir = Path.join(dir(), "tmp") IO.puts("Downloading #{label}...") + with {_, :ok} <- {:download_or_unzip, download_or_unzip(frontend_info, tmp_dir, opts[:file])}, IO.puts("Installing #{label} to #{dest}"),