diff --git a/src/commands/commit.ts b/src/commands/commit.ts index af6759f..cc8eb13 100644 --- a/src/commands/commit.ts +++ b/src/commands/commit.ts @@ -87,7 +87,7 @@ ${chalk.grey('——————————————————')}` if (isPushConfirmedByUser && !isCancel(isPushConfirmedByUser)) { const pushSpinner = spinner(); pushSpinner.start(`Running \`git push ${remotes[0]}\``); - const { stdout } = await execa('git', ['push', remotes[0]]); + const { stdout } = await execa('git', ['push', '--verbose', remotes[0]]); pushSpinner.stop( `${chalk.green('✔')} successfully pushed all commits to ${remotes[0]}` ); @@ -196,6 +196,5 @@ export async function commit( outro(`${chalk.red('✖')} ${generateCommitError}`); process.exit(1); } - process.exit(0); -} +} \ No newline at end of file