mirror of
https://github.com/m1k1o/neko.git
synced 2025-07-31 07:19:06 +02:00
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…
Add table
Add a link
Reference in a new issue