Compare commits
2 Commits
v0.0.3
...
5d17875813
Author | SHA1 | Date | |
---|---|---|---|
5d17875813 | |||
41eec2fc98 |
@@ -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
|
||||
}
|
||||
@@ -279,4 +279,4 @@ func getFilename(res *http.Response) (name string) {
|
||||
} else {
|
||||
return path.Base(res.Request.URL.Path)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user