From 9b961d943c92e89eacefdc435aae19e7368323d5 Mon Sep 17 00:00:00 2001 From: xc Date: Thu, 23 Oct 2025 18:22:24 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=8B=E7=BC=A9=E5=8C=85=E8=B7=AF=E5=BE=84?= =?UTF-8?q?=E6=AD=A3=E7=A1=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scagent/util/fsutil.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scagent/util/fsutil.go b/scagent/util/fsutil.go index d06e7c7..646e863 100644 --- a/scagent/util/fsutil.go +++ b/scagent/util/fsutil.go @@ -335,7 +335,7 @@ func CompressToZip(dest string, currentPath string, paths []string) error { fmt.Println(err.Error()) } // ToSlash 过滤windows的斜杠引起的bug - zfile, err := os.Create(path.Join("./sync_zips", filesPath, dest)) + zfile, err := os.Create(path.Join(filesPath, dest)) if err != nil { return err }