fix: typo

This commit is contained in:
张泊明518370910136 2024-09-21 20:59:11 -04:00
parent 5083b02a6f
commit 9765ea1007
GPG Key ID: D47306D7062CDA9D
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ func severityFromString(severityString string) (Severity, error) {
case "information":
return INFORMATION, nil
default:
return UNKNOWN, fmt.Errorf("unkown severity type \"%s\" for cppcheck", severityString)
return UNKNOWN, fmt.Errorf("unknown severity type \"%s\" for cppcheck", severityString)
}
}

View File

@ -25,7 +25,7 @@ func getMetas(rootDir string, fileList []string) ([]string, string, error) {
matched := false
umatchedRes := ""
// TODO: it seems that there is no good find subsitution now
// TODO: it seems that there is no good find substitution now
// modify current code if exist a better solution
for i, regex := range regexList {
for _, file := range files {