Skip to content

Commit

Permalink
fix: yes should be default for confirmCommit (#85)
Browse files Browse the repository at this point in the history
BREAKING CHANGE:
Now 'yes' is the default option. It means you can press ENTER all the way to the end.
  • Loading branch information
mauricekleine authored and leonardoanalista committed Apr 13, 2019
1 parent 0ac2aa8 commit eee6212
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions questions.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ module.exports = {
{ key: 'n', name: 'Abort commit', value: 'no' },
{ key: 'e', name: 'Edit message', value: 'edit' },
],
default: 0,
message(answers) {
const SEP = '###--------------------------------------------------------###';
log.info(`\n${SEP}\n${buildCommit(answers, config)}\n${SEP}\n`);
Expand Down

0 comments on commit eee6212

Please sign in to comment.