From 365171fddc6b47cf35c868af0e47e43fcaced0c6 Mon Sep 17 00:00:00 2001 From: Evan Burkey Date: Thu, 24 Jul 2025 06:57:17 -0700 Subject: [PATCH] bugfix update logging --- pkg/epoch/update.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkg/epoch/update.go b/pkg/epoch/update.go index 6c2a68b..12c398b 100644 --- a/pkg/epoch/update.go +++ b/pkg/epoch/update.go @@ -67,8 +67,6 @@ func Update(wowdir string, force bool, removeUnknown bool, skipDownload bool) Up } if !skipDownload { - fmt.Printf("Updating %s...", localPath) - outFile, err := os.Create(localPath) if err != nil { stats.Error = fmt.Errorf("failed to create file %s: %v", localPath, err) @@ -100,6 +98,7 @@ func Update(wowdir string, force bool, removeUnknown bool, skipDownload bool) Up resp.Body.Close() downloadSuccess = true + stats.LogMessages = append(stats.LogMessages, fmt.Sprintf("Successfully downloaded %s", localPath)) break }