fix: typo
This commit is contained in:
parent
5083b02a6f
commit
9765ea1007
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue
Block a user