fix(validation): update error message for invalid commit format
All checks were successful
Lint Pull Request / Lint Pr Title (pull_request) Successful in 9s
All checks were successful
Lint Pull Request / Lint Pr Title (pull_request) Successful in 9s
This commit is contained in:
parent
c84b1ecd26
commit
9b1a6a928e
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