Исправление file exists при распаковке архива #2

Merged
xpamych merged 1 commits from Maks1mS/ALR:fix/unpack-file-exists-error into master 2024-11-17 18:25:29 +00:00

@ -222,7 +222,7 @@ func extractFile(r io.Reader, format archiver.Format, name string, opts Options)
}
if f.IsDir() {
err = os.Mkdir(path, 0o755)
err = os.MkdirAll(path, 0o755)
if err != nil {
return err
}