From a37440c81b9fe700b38c57cd724f76f5630fd191 Mon Sep 17 00:00:00 2001 From: wwqgtxx Date: Fri, 25 Jul 2025 17:48:24 +0800 Subject: [PATCH] fix: some downstream dependencies on the upgrader's output fields --- component/updater/update_core.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/component/updater/update_core.go b/component/updater/update_core.go index 1f36ea3a..f200fad0 100644 --- a/component/updater/update_core.go +++ b/component/updater/update_core.go @@ -92,7 +92,8 @@ func (u *CoreUpdater) Update(currentExePath string) (err error) { log.Infoln("current version %s, latest version %s", C.Version, latestVersion) if latestVersion == C.Version { - return fmt.Errorf("update error: %s is the latest version", C.Version) + // don't change this output, some downstream dependencies on the upgrader's output fields + return fmt.Errorf("update error: already using latest version %s", C.Version) } defer func() {