fix fs error while unpacking frontends
This commit is contained in:
parent
f101886709
commit
8b5aca9619
1 changed files with 4 additions and 0 deletions
|
@ -79,6 +79,10 @@ def unzip(zip, dest) do
|
|||
|
||||
new_file_path = Path.join(dest, path)
|
||||
|
||||
new_file_path
|
||||
|> Path.dirname()
|
||||
|> File.rm()
|
||||
|
||||
new_file_path
|
||||
|> Path.dirname()
|
||||
|> File.mkdir_p!()
|
||||
|
|
Loading…
Reference in a new issue