fix(healthcheck/meta): always end line with period
This commit is contained in:
parent
3b89d70343
commit
fc86f93dc9
|
@ -52,11 +52,11 @@ func getMetas(rootDir string, fileList []string) ([]string, string, error) {
|
||||||
unmatchedList = append(unmatchedList, fileList[i])
|
unmatchedList = append(unmatchedList, fileList[i])
|
||||||
str := fmt.Sprintf("%d. No %s file found", i+1, fileList[i])
|
str := fmt.Sprintf("%d. No %s file found", i+1, fileList[i])
|
||||||
if strings.Index(strings.ToLower(fileList[i]), "readme") == 0 {
|
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 {
|
} 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
|
umatchedRes += str
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user