mirror of
https://github.com/di-sukharev/opencommit.git
synced 2026-04-20 03:02:51 -04:00
* refactor(prepare-commit-msg-hook.ts): remove outro function call and its message from try block
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user