Skip to content

Commit 2d0355a

Browse files
Update src/integrations/git/generateCommitMessage.ts
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
1 parent 69aa82d commit 2d0355a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/integrations/git/generateCommitMessage.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ async function getChanges(git: SimpleGit, repoPath: string): Promise<string> {
3737
}
3838

3939
function createPrompt(diff: string, language: string): string {
40-
return `Create a git commit message in ${language} from the following diff:\n${diff}.Remember to print only commit messages text without any extra markdown or content that would require special tools to display. Adhere to best git commit message practices. Remmber to use ${language} in this commit message.`
40+
return `Create a git commit message in ${language} from the following diff:\n${diff}.Remember to print only commit messages text without any extra markdown or content that would require special tools to display. Adhere to best git commit message practices. Remember to use ${language} in this commit message.`
4141
}
4242

4343
export async function generateCommitMessage(context: vscode.ExtensionContext) {

0 commit comments

Comments
 (0)