Skip to content

Commit

Permalink
Fix: gz use default
Browse files Browse the repository at this point in the history
  • Loading branch information
zijiren233 committed Feb 19, 2023
1 parent 795813b commit f0adee0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/zip.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ func Zip(ZipPath string, cfg ZipCfg) error {
}
case ".gz", ".tgz":
format = archiver.CompressedArchive{
Compression: archiver.Gz{CompressionLevel: flate.BestCompression, Multithreaded: true},
Compression: archiver.Gz{CompressionLevel: flate.DefaultCompression, Multithreaded: true},
Archival: archiver.Tar{},
}
case ".zip":
Expand Down

0 comments on commit f0adee0

Please sign in to comment.