Skip to content

Commit

Permalink
Fix: wrong value for initialCommit
Browse files Browse the repository at this point in the history
  • Loading branch information
JPeer264 committed Jan 23, 2018
1 parent a878812 commit 75323db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ if (argv.v) {
} else if (!isAdded()) {
console.error(chalk.red('Please', chalk.bold('git add'), 'some files first before you commit.'));
} else if (commitCount() === 0 &&
typeof config.initCommit === 'object' &&
config.initCommit.isEnabled) {
typeof config.initialCommit === 'object' &&
config.initialCommit.isEnabled) {
const message = initMessage(config);

inquirer.prompt(question).then(answers => (
Expand Down

0 comments on commit 75323db

Please sign in to comment.