* 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,
|
messageFilePath,
|
||||||
commitMessage + '\n' + fileContent.toString()
|
commitMessage + '\n' + fileContent.toString()
|
||||||
);
|
);
|
||||||
|
|
||||||
outro(`${chalk.green('✔')} commit done`);
|
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
outro(`${chalk.red('✖')} ${error}`);
|
outro(`${chalk.red('✖')} ${error}`);
|
||||||
process.exit(1);
|
process.exit(1);
|
||||||
|
|||||||
Reference in New Issue
Block a user