refactor(generateCommitMessageFromGitDiff.ts): update INIT_MESSAGES_PROMPT to improve readability and remove unnecessary line breaks
This commit is contained in:
@@ -19,7 +19,8 @@ const INIT_MESSAGES_PROMPT: Array<ChatCompletionRequestMessage> = [
|
||||
config?.emoji
|
||||
? 'Use Gitmoji convention to preface the commit'
|
||||
: 'Do not preface the commit with anything'
|
||||
}. ${
|
||||
}.
|
||||
${
|
||||
config?.description
|
||||
? 'Add a short description of why the commit is done after the commit message. Don\'t start it with "This commit", just describe the changes'
|
||||
: "Don't add any descriptions to the commit, only commit message"
|
||||
|
||||
Reference in New Issue
Block a user