fix: typo
This commit is contained in:
parent
5083b02a6f
commit
9765ea1007
|
@ -29,7 +29,7 @@ func severityFromString(severityString string) (Severity, error) {
|
||||||
case "information":
|
case "information":
|
||||||
return INFORMATION, nil
|
return INFORMATION, nil
|
||||||
default:
|
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
|
matched := false
|
||||||
umatchedRes := ""
|
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
|
// modify current code if exist a better solution
|
||||||
for i, regex := range regexList {
|
for i, regex := range regexList {
|
||||||
for _, file := range files {
|
for _, file := range files {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user