From 7af18aebe8f20e361705dffac4bbb278d249b198 Mon Sep 17 00:00:00 2001 From: Boming Zhang Date: Wed, 26 Feb 2025 02:20:03 -0500 Subject: [PATCH] fix(healthcheck): remove meta check extra prefix --- pkg/healthcheck/meta.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/healthcheck/meta.go b/pkg/healthcheck/meta.go index ca04af2..1c1c05f 100644 --- a/pkg/healthcheck/meta.go +++ b/pkg/healthcheck/meta.go @@ -50,7 +50,7 @@ func getMetas(rootDir string, fileList []string) ([]string, string, error) { for i, wasFound := range matched { if !wasFound { unmatchedList = append(unmatchedList, fileList[i]) - str := fmt.Sprintf("%d. No %s file found", i+1, fileList[i]) + str := fmt.Sprintf("No %s file found", fileList[i]) if strings.Index(strings.ToLower(fileList[i]), "readme") == 0 { str += ", please refer to https://www.makeareadme.com/ for more information" } else if strings.Index(strings.ToLower(fileList[i]), "changelog") == 0 {