* refactor(prepare-commit-msg-hook.ts): remove outro function call and its message from try block

This commit is contained in:
di-sukharev
2023-03-09 14:00:50 +08:00
parent b747d70e69
commit 68b327bee7

View File

@@ -43,8 +43,6 @@ export const prepareCommitMessageHook = async () => {
messageFilePath,
commitMessage + '\n' + fileContent.toString()
);
outro(`${chalk.green('✔')} commit done`);
} catch (error) {
outro(`${chalk.red('✖')} ${error}`);
process.exit(1);