d
This commit is contained in:
1 parent
1a315d5613
commit
4c29fb455e
1 file changed
+1
-1
+1
-1
@@ -529,7 +529,7 @@ func ZipOneFile(srcFile, dstZip string, pathFlag bool) error {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func ZipDirectoryFile(srcDir, dstZip string, pathFlag bool) error {
|
func ZipDirectoryFile(srcDir, dstZip string) error {
|
||||||
// Create a new zip file
|
// Create a new zip file
|
||||||
zipfileWriter, err := os.Create(dstZip)
|
zipfileWriter, err := os.Create(dstZip)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|||||||
Reference in new issue
Block a user