From fc86f93dc962f68d5a1c1a0e9800aa2f01a9aee5 Mon Sep 17 00:00:00 2001 From: Boming Zhang Date: Fri, 1 Nov 2024 07:55:39 -0400 Subject: [PATCH] fix(healthcheck/meta): always end line with period --- pkg/healthcheck/meta.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/healthcheck/meta.go b/pkg/healthcheck/meta.go index 6e3696a..ca04af2 100644 --- a/pkg/healthcheck/meta.go +++ b/pkg/healthcheck/meta.go @@ -52,11 +52,11 @@ func getMetas(rootDir string, fileList []string) ([]string, string, error) { unmatchedList = append(unmatchedList, fileList[i]) str := fmt.Sprintf("%d. No %s file found", i+1, fileList[i]) if strings.Index(strings.ToLower(fileList[i]), "readme") == 0 { - str += ", please refer to https://www.makeareadme.com/ for more information." + str += ", please refer to https://www.makeareadme.com/ for more information" } else if strings.Index(strings.ToLower(fileList[i]), "changelog") == 0 { - str += ", please refer to https://keepachangelog.com/en/1.1.0/ for more information." + str += ", please refer to https://keepachangelog.com/en/1.1.0/ for more information" } - str += "\n" + str += ".\n" umatchedRes += str } }