Fix plugin unzip call on windows
This commit is contained in:
parent
6ae194934d
commit
2408eeceba
1 changed files with 1 additions and 1 deletions
|
@ -281,7 +281,7 @@ func unzipFile(f *zipa.File, dest string) error {
|
||||||
|
|
||||||
defer func() { _ = rc.Close() }()
|
defer func() { _ = rc.Close() }()
|
||||||
|
|
||||||
pathParts := strings.SplitN(f.Name, string(os.PathSeparator), 2)
|
pathParts := strings.SplitN(f.Name, "/", 2)
|
||||||
p := filepath.Join(dest, pathParts[1])
|
p := filepath.Join(dest, pathParts[1])
|
||||||
|
|
||||||
if f.FileInfo().IsDir() {
|
if f.FileInfo().IsDir() {
|
||||||
|
|
Loading…
Reference in a new issue