Skip to content

Commit

Permalink
chore: ET-1429: remove extra new line character when joining commit m…
Browse files Browse the repository at this point in the history
…essages
  • Loading branch information
Matthew Salter committed Oct 31, 2023
1 parent 35f55be commit 9903715
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/generateCommitMessageFromGitDiff.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export const generateCommitMessageByDiff = async (
await delay(2000);
}

const commitMessagesNewLines = commitMessages.join('\n\n');
const commitMessagesNewLines = commitMessages.join('\n');

const combinedCommitMessage = await api.generateSingleCommitMessage(commitMessagesNewLines);

Expand Down

0 comments on commit 9903715

Please sign in to comment.