feat: initial implementation #5
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ func ValidateConventionalCommit(commit string) error {
|
|||
match := re.FindStringSubmatch(commit)
|
||||
|
||||
if len(match) == 0 {
|
||||
return fmt.Errorf("invalid commit format")
|
||||
return fmt.Errorf("Invalid PR title")
|
||||
}
|
||||
|
||||
typeIndex := re.SubexpIndex("type")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue