Fix fs error while unpacking frontends #839

Merged
floatingghost merged 1 commit from tudbut/akkoma:frontends into develop 2024-10-26 03:58:41 +00:00
Showing only changes of commit 8b5aca9619 - Show all commits

fix fs error while unpacking frontends
Some checks failed
ci/woodpecker/pr/lint Pipeline failed
ci/woodpecker/pr/test unknown status
ci/woodpecker/pr/build-arm64 unknown status
ci/woodpecker/pr/build-amd64 unknown status
ci/woodpecker/pr/docs unknown status

TudbuT 2024-10-18 14:50:28 +02:00
No known key found for this signature in database
GPG key ID: B3CF345217F202D3

View file

@ -79,6 +79,10 @@ defmodule Pleroma.Frontend do
new_file_path = Path.join(dest, path)
new_file_path
|> Path.dirname()
|> File.rm()
new_file_path
|> Path.dirname()
|> File.mkdir_p!()