From 79e09f9cb72da1fcc4a41154116ee39021c318da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=97=E5=AD=90?= Date: Thu, 31 Oct 2024 18:32:08 +0800 Subject: [PATCH] chore: debug --- 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 4c603b96..c27ece63 100644 --- a/pkg/io/compress.go +++ b/pkg/io/compress.go @@ -46,7 +46,7 @@ func Compress(dir string, src []string, dst string) error { case Xz: _, err = shell.ExecfWithDir(dir, "tar -cJf %s %s", dst, strings.Join(src, " ")) case SevenZip: - out, err = shell.ExecfWithDir(dir, "7z a -y %s %s", dst, strings.Join(src, " ")) + _, err = shell.ExecfWithDir(dir, "7z a -y %s %s", dst, strings.Join(src, " ")) default: return errors.New("unsupported format") }