zip fix file check.
This commit is contained in:
parent
d3206bfd24
commit
18e2ba6390
1 changed files with 1 additions and 1 deletions
|
|
@ -33,7 +33,7 @@ func Zip(source, zipPath string) error {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
if !info.IsDir() || !info.Mode().IsRegular() {
|
if !info.IsDir() && !info.Mode().IsRegular() {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue