chore: husky update

This commit is contained in:
Luc SORIGNET
2025-05-04 13:37:05 +02:00
parent 4ecf25a6ab
commit 0b5ebb9b32

View File

@ -26,7 +26,7 @@ function formatCommitMessageFromBranchName(branchName) {
const type = match[1];
const idTicket = match[2];
const featureName = match[3];
return `${type}: ${featureName.replace(/[-_]/g, " ")} [${idTicket}]`;
return `${type}: ${featureName.replace(/[-_]/g, " ")} [#${idTicket}]`;
} else if (matchWithoutTicket) {
const type = matchWithoutTicket[1];
const featureName = matchWithoutTicket[2];