Skip to content

Commit

Permalink
fix(prompt): prompt didn't work because the optional arguments were i…
Browse files Browse the repository at this point in the history
…n the wrong order
  • Loading branch information
jpnelson committed Jul 13, 2016
1 parent 15318e8 commit 446af53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ function getChangedComponents () {
module.exports = {
prompter: function(cz, options, commit) {
if (typeof options === 'function') {
options = {};
commit = options;
options = {};
}

console.log('\n' + conventionalFormat.help + '\n');
Expand Down

0 comments on commit 446af53

Please sign in to comment.