From 48a49db67bff4ba03b28df2e8144b567f5160e95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=97=E5=AD=90?= Date: Sun, 5 Jan 2025 19:53:19 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=A7=A3=E5=8E=8B=E7=BC=A9=E4=B8=8D?= =?UTF-8?q?=E6=94=AF=E6=8C=81.gz?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/io/compress.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/io/compress.go b/pkg/io/compress.go index 028c41ac6b..3df273ec76 100644 --- a/pkg/io/compress.go +++ b/pkg/io/compress.go @@ -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