From 826c4a24ec6b60cac9236ca89209d27932b078e1 Mon Sep 17 00:00:00 2001 From: wuko233 Date: Wed, 8 Apr 2026 14:31:00 +0800 Subject: [PATCH] =?UTF-8?q?[cmd]=20=E5=8E=BB=E9=99=A4=E5=93=88=E5=B8=8C?= =?UTF-8?q?=E4=B8=8E=E5=BA=8F=E5=8F=B7=E8=A1=A8=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cmd/safe/safe.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/cmd/safe/safe.go b/cmd/safe/safe.go index f7744e7..24974d2 100644 --- a/cmd/safe/safe.go +++ b/cmd/safe/safe.go @@ -44,12 +44,11 @@ func interactiveSafe(cfg *config.Config) { } fmt.Println("\n╔══════════════════════════════════════════════╗") - fmt.Println("║ 可疑文件清单 (" + fmt.Sprintf("%d", len(dubiousFiles)) + "个) ║") + fmt.Println("║ 可疑文件清单 (" + fmt.Sprintf("%d", len(dubiousFiles)) + "个) ║") fmt.Println("╠══════════════════════════════════════════════╣") - for i, file := range dubiousFiles { - fmt.Printf("║ %d. %-40s║\n", i+1, file.Path) - fmt.Printf("║ Hash: %-36s║\n", file.Hash[:8]+"...") + for _, file := range dubiousFiles { + fmt.Printf("║ %-45s║\n", file.Path) } fmt.Println("╚══════════════════════════════════════════════╝")