From f7a15e124bbd82e09c74d8d84080ab1886628d30 Mon Sep 17 00:00:00 2001 From: xc Date: Tue, 2 Sep 2025 09:52:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E7=B4=A2=E5=BC=95=E6=9C=AA?= =?UTF-8?q?=E4=BD=BF=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scagent/core/JsonRpc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scagent/core/JsonRpc.go b/scagent/core/JsonRpc.go index c054575..46d581e 100644 --- a/scagent/core/JsonRpc.go +++ b/scagent/core/JsonRpc.go @@ -62,7 +62,7 @@ func (f *FileRpc) GetFilePath(args *Args, replay *Reply) error { return err } // 打印所有文件路径 - for i, file := range allFiles { + for _, file := range allFiles { // 打印所有文件路径 // fmt.Printf("%d. %s\n", i+1, file) d, _ := os.Stat(file)