fix(commands): failure to cancel commit creation

This commit is contained in:
2023-12-19 22:15:42 +02:00
parent 399f65dab1
commit 782894dae3

View File

@@ -177,6 +177,11 @@ program
cancel("Commit creation cancelled"); cancel("Commit creation cancelled");
process.exit(0); process.exit(0);
} }
if (!proceedCommitting) {
cancel("Cancelled, please split this commit into smaller ones");
process.exit(0);
}
} }
const type: string | symbol = await select({ const type: string | symbol = await select({