fix: fix preview string of commit subject

This commit is contained in:
Yoshiya Hinosawa 2018-03-15 10:33:03 +09:00
parent 4a68d692ab
commit b217d782eb

View file

@ -55,7 +55,7 @@ func (f *CommitMessageFormat) PatternMapString() string {
// Formats
var (
fmtTypeScopeSubject = &CommitMessageFormat{
Preview: "feat(core) Add new feature",
Preview: "feat(core): Add new feature",
Display: "<type>(<scope>): <subject>",
Pattern: `^(\\w*)(?:\\(([\\w\\$\\.\\-\\*\\s]*)\\))?\\:\\s(.*)$`,
PatternMaps: []string{"Type", "Scope", "Subject"},