2
2
mirror of https://github.com/m1k1o/neko.git synced 2024-07-24 14:40:50 +12:00

zip fix file check.

This commit is contained in:
Miroslav Šedivý 2021-07-04 21:36:42 +02:00
parent d3206bfd24
commit 18e2ba6390

@ -33,7 +33,7 @@ func Zip(source, zipPath string) error {
return err
}
if !info.IsDir() || !info.Mode().IsRegular() {
if !info.IsDir() && !info.Mode().IsRegular() {
return nil
}