From 2acf833cd01cf93988558f9c8a07d10c0ae7f8b9 Mon Sep 17 00:00:00 2001 From: openefit Date: Sun, 19 Mar 2023 16:04:06 +0800 Subject: [PATCH] fix(generateCommitMessageFromGitDiff.ts): remove unnecessary character at the end of the line (#36) --- src/generateCommitMessageFromGitDiff.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/generateCommitMessageFromGitDiff.ts b/src/generateCommitMessageFromGitDiff.ts index 7bfd3bf..d310c01 100644 --- a/src/generateCommitMessageFromGitDiff.ts +++ b/src/generateCommitMessageFromGitDiff.ts @@ -21,7 +21,7 @@ const INIT_MESSAGES_PROMPT: Array = [ config?.description ? 'Add a short description of what commit is about 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.' - } Use ${translation.localLanguage} to answer.}` + } Use ${translation.localLanguage} to answer.` }, { role: ChatCompletionRequestMessageRoleEnum.User,