MCPcopy Index your code
hub / github.com/conventionalcommit/commitlint / hasErrorSeverity

Function hasErrorSeverity

internal/cmd/lint.go:192–199  ·  view source on GitHub ↗
(result *lint.Result)

Source from the content-addressed store, hash-verified

190}
191
192func hasErrorSeverity(result *lint.Result) bool {
193 for _, i := range result.Issues() {
194 if i.Severity() == lint.SeverityError {
195 return true
196 }
197 }
198 return false
199}

Callers 1

runLintFunction · 0.85

Calls 2

IssuesMethod · 0.80
SeverityMethod · 0.80

Tested by

no test coverage detected