🐛 ai commit (correct regular/conventional)
This commit is contained in:
parent
352632e5a5
commit
f02723bdc6
@ -68,7 +68,7 @@ $.api("", true)
|
|||||||
.map(pipe(
|
.map(pipe(
|
||||||
j=> j.choices[0].text.trim(),
|
j=> j.choices[0].text.trim(),
|
||||||
convertToArray,
|
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")
|
a=> a.join("\n")
|
||||||
))
|
))
|
||||||
.join("\n\n");
|
.join("\n\n");
|
||||||
|
Loading…
Reference in New Issue
Block a user