From c6202fe73e306801de8aea67c6796cf9c3041f78 Mon Sep 17 00:00:00 2001 From: Iheb KHEMISSI Date: Thu, 27 Oct 2016 14:53:39 +0100 Subject: [PATCH] feat: show line prefixes added by the adapter Show line prefixes for 'Issues' and 'Breaking changes' that will be added by the adapter to the commit message --- index.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/index.js b/index.js index 41c44c85..d6700eee 100644 --- a/index.js +++ b/index.js @@ -64,15 +64,15 @@ module.exports = { { type: 'input', name: 'breaking', - message: 'List any breaking changes:\n' + message: 'List any breaking changes:\nBREAKING CHANGE: ' }, { type: 'input', name: 'footer', - message: 'Reference any task that this commit closes:\n' + message: 'Reference any task that this commit closes:\nIssues: ' } ]) - .then(function (answers) { + .then((answers) => { const wrapOptions = { trim: true, indent: '', @@ -104,4 +104,3 @@ module.exports = { }); } } -