Skip to content

Commit

Permalink
fix: 解压缩不支持.gz
Browse files Browse the repository at this point in the history
  • Loading branch information
devhaozi committed Jan 5, 2025
1 parent a573a6e commit 48a49db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/io/compress.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ func formatArchiveByPath(path string) (FormatArchive, error) {
return Bz2, nil
case ".tar":
return Tar, nil
case ".gz", ".tar.gz", ".tgz":
case ".tar.gz", ".tgz":
return TGz, nil
case ".xz":
return Xz, nil
Expand Down

0 comments on commit 48a49db

Please sign in to comment.