We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23b6668 commit 69a23f2Copy full SHA for 69a23f2
lib/cli.js
@@ -14,8 +14,9 @@ inquirer.prompt(questionsList).then((answers) => {
14
15
return execa('git', ['commit', '-m', message])
16
.then(result => console.log(result.stdout))
17
- .catch((err) => {
+ .catch(() => {
18
+ console.log();
19
console.error(chalk.red("Have you thought about 'git add' some files? Add files and try run following again:\n"));
- console.error(chalk.green(err.cmd));
20
+ console.error(chalk.green(`git commit -m "${message}"`));
21
});
22
0 commit comments