🐛 ai commit (correct regular/conventional)

This commit is contained in:
jaandrle committed 2024-05-12 10:19:02 +02:00
1 parent 352632e5a5
commit f02723bdc6
1 file changed
+1 -1
+1 -1
View File
@@ -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");