git feature

This commit is contained in:
2026-06-30 14:46:19 +07:00
parent 251c1b7573
commit 11e5a76977
23 changed files with 1680 additions and 28 deletions

View File

@@ -1707,8 +1707,8 @@ func zipFolder(srcDir, destZip string) error {
if err != nil {
return err
}
defer rf.Close()
_, err = io.Copy(w, rf)
return err
_, copyErr := io.Copy(w, rf)
rf.Close()
return copyErr
})
}