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:
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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user