diff --git a/sv/message.go b/sv/message.go index b5eb5c5..709fb66 100644 --- a/sv/message.go +++ b/sv/message.go @@ -202,7 +202,6 @@ func (p MessageProcessorImpl) Format(msg CommitMessage) (string, string, string) // Parse a commit message. func (p MessageProcessorImpl) Parse(subject, body string) CommitMessage { - filteredSubject := subject if p.messageCfg.MessageSelector != "" { subjectRegex := regexp.MustCompile(p.messageCfg.MessageSelector)