Skip to content

Commit

Permalink
🐛 ai commit (correct regular/conventional)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaandrle committed May 12, 2024
1 parent 352632e commit f02723b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/§ai-commit.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ $.api("", true)
.map(pipe(
j=> j.choices[0].text.trim(),
convertToArray,
format==="regular" ? i=> i : i=> gitmoji(i, format==="git3moji"),
format==="regular" || format==="conventional" ? i=> i : i=> gitmoji(i, format==="git3moji"),
a=> a.join("\n")
))
.join("\n\n");
Expand Down

0 comments on commit f02723b

Please sign in to comment.