mirror of
https://github.com/git-chglog/git-chglog.git
synced 2026-01-23 02:15:12 +00:00
Merge pull request #13 from kt3k/feature/fix-preview
Fix preview string of commit subject
This commit is contained in:
commit
e9d40da0f8
1 changed files with 1 additions and 1 deletions
|
|
@ -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"},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue