...
|
...
|
@@ -374,9 +374,11 @@ func (controller *ImportController) Unzip(zipPath, dstDir string) ([]string, err |
|
|
if err := controller.unzipFile(f, decodeName, dstDir); err != nil {
|
|
|
return fileNames, err
|
|
|
} else {
|
|
|
if !(f.FileInfo().IsDir()) {
|
|
|
fileNames = append(fileNames, decodeName)
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
return fileNames, nil
|
|
|
}
|
|
|
|
...
|
...
|
|