Skip to content

Commit

Permalink
test: add space of scope and subject
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhengqbbb committed Sep 16, 2024
1 parent cf3e1f6 commit 167c285
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cz-git/src/generator/message.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ export function generateMessage(answers: Answers, options: CommitizenGitOptions,

let defaultHeader = addEmoji(emoji, 'left', options.emojiAlign) + type
defaultHeader += scope ? `(${scope})` : ''
defaultHeader += `${markBreaking}:`
defaultHeader += `${markBreaking}: `
defaultHeader += addEmoji(emoji, 'center', options.emojiAlign) + subject
defaultHeader += addEmoji(emoji, 'right', options.emojiAlign)

Expand Down

0 comments on commit 167c285

Please sign in to comment.