updated tests

This commit is contained in:
Gani Georgiev committed 2026-08-22 10:10:16 +03:00
1 parent 80608e8687
commit f544fa0c81
4 files changed
+152 -11

No files matched your search

+1 -1
View File
@@ -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)