()
| 65 | type DescriptionEmptyRule struct{} |
| 66 | |
| 67 | func (r *DescriptionEmptyRule) Name() string { return "description-empty" } |
| 68 | func (r *DescriptionEmptyRule) Apply(_ lint.RuleSetting) error { return nil } |
| 69 | func (r *DescriptionEmptyRule) Validate(msg lint.Commit) (*lint.Issue, bool) { |
| 70 | if msg.Description() != "" { |
nothing calls this directly
no outgoing calls
no test coverage detected