Skip to content
This repository has been archived by the owner on Jun 16, 2021. It is now read-only.

Commit

Permalink
feat: show line prefixes added by the adapter
Browse files Browse the repository at this point in the history
Show line prefixes for 'Issues' and 'Breaking changes' that will be
added by the adapter to the commit message
  • Loading branch information
ikhemissi authored and brokenmass committed Oct 27, 2016
1 parent fc3c866 commit c6202fe
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: '',
Expand Down Expand Up @@ -104,4 +104,3 @@ module.exports = {
});
}
}

0 comments on commit c6202fe

Please sign in to comment.