This commit is contained in:
2023-09-06 17:21:58 +08:00
parent 1a315d5613
commit 4c29fb455e

View File

@@ -529,7 +529,7 @@ func ZipOneFile(srcFile, dstZip string, pathFlag bool) error {
return nil
}
func ZipDirectoryFile(srcDir, dstZip string, pathFlag bool) error {
func ZipDirectoryFile(srcDir, dstZip string) error {
// Create a new zip file
zipfileWriter, err := os.Create(dstZip)
if err != nil {