Skip to content

Commit

Permalink
Merge pull request #8 from ize-302/develop
Browse files Browse the repository at this point in the history
feat: change emoji position ✨
  • Loading branch information
ize-302 authored Sep 13, 2024
2 parents ac5ef7b + 3c72d46 commit 4c460b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/handleCommand.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ const showCommitPrompt = async () => {
if (commitMessage) {
const ctype = await isConventionalCommit(commitMessage);
if (ctype) {
const updatedCommitMessage = ctype?.emoji + " " + response.commitMessage;
const updatedCommitMessage = response.commitMessage + " " + ctype?.emoji;
console.log("COMMIT MESSAGE:", updatedCommitMessage);
shell.exec(`git commit -m '${updatedCommitMessage}'`);
} else {
Expand Down

0 comments on commit 4c460b6

Please sign in to comment.