diff --git a/src/index.ts b/src/index.ts index 52838a4..3a53ea1 100644 --- a/src/index.ts +++ b/src/index.ts @@ -177,6 +177,11 @@ program cancel("Commit creation cancelled"); process.exit(0); } + + if (!proceedCommitting) { + cancel("Cancelled, please split this commit into smaller ones"); + process.exit(0); + } } const type: string | symbol = await select({