diff --git a/internal/parsers/cppcheck/score.go b/internal/parsers/cppcheck/score.go index d6028fb..dbdf81e 100644 --- a/internal/parsers/cppcheck/score.go +++ b/internal/parsers/cppcheck/score.go @@ -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) } } diff --git a/pkg/healthcheck/meta.go b/pkg/healthcheck/meta.go index 2e78d50..a78da6b 100644 --- a/pkg/healthcheck/meta.go +++ b/pkg/healthcheck/meta.go @@ -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 {