fix(healthcheck): remove meta check extra prefix

This commit is contained in:
张泊明518370910136 2025-02-26 02:20:03 -05:00
parent 76a140d6a2
commit 7af18aebe8
GPG Key ID: D47306D7062CDA9D

View File

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