mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-11-05 11:37:25 +01:00
updated tests
This commit is contained in:
1 parent
80608e8687
commit
f544fa0c81
4 files changed
+152
-11
No files matched your search
@@ -299,7 +299,7 @@ func copyFileToZip(w *zip.Writer, localPath string, zipPath string) error {
|
||||
}
|
||||
|
||||
if info.IsDir() {
|
||||
return nil
|
||||
return fmt.Errorf("%s is a directory and not a regular file", localPath)
|
||||
}
|
||||
|
||||
h, err := zip.FileInfoHeader(info)
|
||||
|
||||
Reference in new issue
Block a user