fix(healthcheck/meta): always end line with period
All checks were successful
submodules sync / sync (push) Successful in 39s
build / build (push) Successful in 1m20s
build / trigger-build-image (push) Successful in 7s

This commit is contained in:
张泊明518370910136 2024-11-01 07:55:39 -04:00
parent 3b89d70343
commit fc86f93dc9
GPG Key ID: D47306D7062CDA9D

View File

@ -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
}
}