diff --git a/src/index.mjs b/src/index.mjs index c368488..d6163db 100644 --- a/src/index.mjs +++ b/src/index.mjs @@ -365,7 +365,9 @@ function format(answers) { } // Optional subject with emoji - const subject = answers.emoji ? `${answers.emoji} ${answers.subject}` : '' + const subject = answers.emoji + ? `${answers.emoji} ${answers.subject}` + : answers.subject // Build head line, add emoji and limit to 100 const head = `${truncate(